Skip to content

Commit de8a0ba

Browse files
v3.2
1 parent 1b1756e commit de8a0ba

File tree

6 files changed

+20
-9
lines changed

6 files changed

+20
-9
lines changed

API/API.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ end
5858

5959
---Runs a Better Command (useful for debugging and stuff)
6060
---@param input string
61-
---@param player string?
61+
---@param executor_name string?
6262
function better_commands.run(input, executor_name)
6363
local command, param = input:match("%/?(%S+)%s+(.*)$")
6464
local context

API/damage.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
---@param reason table?
77
---@param damage_immortal? boolean
88
function better_commands.deal_damage(target, damage, reason, damage_immortal)
9-
core.log(dump({damage=damage,reason=reason}))
9+
--core.log(dump({damage=damage,reason=reason}))
1010

1111
local luaentity = target:get_luaentity()
1212

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## v3.2
4+
* Disabled unnecessary logging that was accidentally left in
5+
* Updated license year and translation template.
6+
* The repo is in the Minetest Mods organization now, which is pretty neat.
7+
38
## v3.1
49
Fixes a crash caused by nodes being dug by non-players.
510

COMMANDS/scoreboard.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ better_commands.register_command("scoreboard", {
329329
if name then
330330
local score = better_commands.scoreboard.objectives[objective].scores[name].score
331331
local display_name = better_commands.scoreboard.objectives[objective].display_name or objective
332-
core.log(dump({name, score, display_name}))
333332
return true, S("@1 has @2 [@3]", better_commands.format_name(name), score, display_name), 1
334333
else
335334
return false, better_commands.error(S("@1 does not have a score for @2", better_commands.format(name), objective)), 1

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 ThePython10110
3+
Copyright (c) 2025 ThePython10110
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

locale/template.txt

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Missing coordinate=
1818
Cannot mix local and global coordinates=
1919
Invalid coordinate '@1'=
2020
Invalid item '@1'=
21+
Maximum count is 65535, got @1=
2122
Invalid item: '@1'=
2223
Invalid item=
2324
Unknown node '@1'=
@@ -68,9 +69,13 @@ Kills self=
6869
Unexpected argument(s) '@1'=
6970
[<target>]=
7071
Removes entities (or self if <entity> left out)=
72+
Removed @1=
73+
Removed @1 entities=
7174
<targets> <amount> [type] [by <cause>]=
7275
Damages entities.=
7376
<amount> must not be negative=
77+
Expected 'by <cause>', got '@1'=
78+
Missing cause=
7479
Applied @1 damage to @2=
7580
Applied @1 damage to @2 entities=
7681
Missing argument=
@@ -144,6 +149,7 @@ Missing vehicle=
144149
Expected teleport_ride|teleport_rider, got @1=
145150
Command blocks cannot be ridden=
146151
@1 started riding @2=
152+
Command blocks cannot be ridden. This should be obvious.=
147153
@1 is not riding any vehicle=
148154
@1 stopped riding @2=
149155
Missing target=
@@ -192,14 +198,14 @@ There are no tracked players=
192198
There are @1 tracked player(s): @2=
193199
@1 has no scores=
194200
@1 has @2 score(s): @3=
195-
Missing source selector=
196-
Missing source objective=
197-
Invalid source objective=
198-
Missing operator=
199-
Invalid operator: @1=
200201
Missing target selector=
201202
Missing target objective=
202203
Invalid target objective=
204+
Missing operator=
205+
Invalid operator: @1=
206+
Missing source selector=
207+
Missing source objective=
208+
Invalid source objective=
203209
Skipping attempt to divide by zero=
204210
@1 [@2] score of @3 @4 [@5] score of @6=
205211
Changed @1 scores (@2 total operations)=
@@ -212,6 +218,7 @@ Randomized score for @1=
212218
Randomized @2 scores=
213219
Reset score for @1=
214220
Reset @2 scores=
221+
Must be a number (or '*')=
215222
Player @1 has no scores recorded=
216223
Score @1 is in range @2 to @3=
217224
Score @1 is NOT in range @2 to @3=

0 commit comments

Comments
 (0)