From 5871a521b705bbd942af2db1ddd073aa7c3d7607 Mon Sep 17 00:00:00 2001 From: udu3324 Date: Sat, 25 May 2024 13:40:22 -0500 Subject: [PATCH 1/2] Fix ToggleSpecificAds --- src/main/java/com/udu3324/poinpow/utils/ToggleSpecificAds.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { From ef8080309494f5fe87995fddd10b86376d86d502 Mon Sep 17 00:00:00 2001 From: udu3324 Date: Sat, 25 May 2024 13:42:23 -0500 Subject: [PATCH 2/2] Fix ToggleSpecificAds --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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