Skip to content

Commit

Permalink
Fix players being able to use /clearinv
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneWolfHT committed Oct 26, 2023
1 parent beafb63 commit 56618fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mods/mtg/ctf_changes/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ for from, to in pairs(disabled_ores) do
minetest.register_alias_force(from, to)
end

minetest.override_chatcommand("clearinv", {
privs = {server = true},
})

minetest.register_on_mods_loaded(function()

-- Remove Unneeded ABMs
Expand Down

0 comments on commit 56618fd

Please sign in to comment.