Attempt to fix Zombe/noclip flippage [quick'n'shalow: untested].

This commit is contained in:
asofold 2013-03-02 04:25:08 +01:00
parent f28235cf61
commit 65859486ec

View File

@ -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";