GraveStone Mod

GraveStone Mod

69M Downloads

Non OP player can use /restoreinventory command

Closed this issue ยท 1 comments

commented

Bug description

Hii, some player can use /restore inventory command on serveur
Can u add an OP permission level ?

Minecraft version

1.21.1

Mod version

1.21.1-1.0.32

Mod loader and version

21.1.193

Steps to reproduce

Juste type command woth a death UUID and claim stuff, or duplicate it

Expected behavior

No response

Log files

https://gist.github.com/

Screenshots

No response

commented

It requires permission level 2. You might have misconfigured your server.

LiteralArgumentBuilder<CommandSourceStack> literalBuilder = Commands.literal("restore").requires((commandSource) -> commandSource.hasPermission(2));