diff --git a/gradle.properties b/gradle.properties index 225a409..c555d38 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,7 +9,7 @@ org.gradle.parallel=true loader_version=0.15.3 # Mod Properties - mod_version = 1.6.3 + mod_version = 1.6.4 maven_group = com.udu3324 archives_base_name = poinpow diff --git a/src/main/java/com/udu3324/poinpow/utils/ToggleSpecificAds.java b/src/main/java/com/udu3324/poinpow/utils/ToggleSpecificAds.java index 0f2125a..88e42bb 100644 --- a/src/main/java/com/udu3324/poinpow/utils/ToggleSpecificAds.java +++ b/src/main/java/com/udu3324/poinpow/utils/ToggleSpecificAds.java @@ -38,7 +38,7 @@ public static boolean checkRank(String chat) { return true; } else if (rank.contains("[PATRON]") && patron) { return true; - } else return defaultRank; + } else return !(rank.contains("VIP") || rank.contains("PRO") || rank.contains("LEGEND") || rank.contains("PATRON")) && defaultRank; } public static int toggle(FabricClientCommandSource source, String rank) {