UserLevel.OWNER does not account for op-level being 4.
SquidDev opened this issue ยท 0 comments
Minecraft Version
1.16.x
Version
1.98.2
Details
The first code block will fall through, meaning we just check the permission level - which is 4.
Instead we should check for OWNER and then either:
- For dedicated servers, check we're the server console.
- For single player servers, check we're the owner as before.