mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-12-27 02:48:04 +01:00
Attempt to fix Zombe/noclip flippage [quick'n'shalow: untested].
This commit is contained in:
parent
f28235cf61
commit
65859486ec
@ -27,6 +27,10 @@ public class ModUtil {
|
||||
// Check if we allow all the client mods.
|
||||
final boolean allowAll = ConfigManager.getConfigFile().getBoolean(ConfPaths.MISCELLANEOUS_ALLOWCLIENTMODS);
|
||||
|
||||
// Disable Zombe's noclip.
|
||||
if (allowAll || player.hasPermission(Permissions.ZOMBE_NOCLIP))
|
||||
message += "§f §f §4 §0 §9 §6";
|
||||
|
||||
// Allow Rei's Minimap's cave mode.
|
||||
if (allowAll || player.hasPermission(Permissions.REI_CAVE))
|
||||
message += "§0§0§1§e§f";
|
||||
@ -73,10 +77,6 @@ public class ModUtil {
|
||||
if (!player.hasPermission(Permissions.ZOMBE_FLY))
|
||||
message += "§f §f §1 §0 §2 §4";
|
||||
|
||||
// Disable Zombe's noclip.
|
||||
if (!player.hasPermission(Permissions.ZOMBE_NOCLIP))
|
||||
message += "§f §f §4 §0 §9 §6";
|
||||
|
||||
// Disable Zombe's cheat.
|
||||
if (!player.hasPermission(Permissions.ZOMBE_CHEAT))
|
||||
message += "§f §f §2 §0 §4 §8";
|
||||
|
Loading…
Reference in New Issue
Block a user