From 908412dfdc26e5fddaf32e8077e50635da7076c2 Mon Sep 17 00:00:00 2001 From: xGinko Date: Fri, 29 Dec 2023 00:22:59 +0100 Subject: [PATCH] improve defaults and update XSeries --- .../preventions/portals/PreventSpecificEntitiesInPortals.java | 4 ++-- AnarchyExploitFixesLegacy/build.gradle.kts | 2 +- .../preventions/portals/PreventSpecificEntitiesInPortals.java | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/AnarchyExploitFixesFolia/src/main/java/me/moomoo/anarchyexploitfixes/modules/preventions/portals/PreventSpecificEntitiesInPortals.java b/AnarchyExploitFixesFolia/src/main/java/me/moomoo/anarchyexploitfixes/modules/preventions/portals/PreventSpecificEntitiesInPortals.java index e68ad6442..5b404aa38 100755 --- a/AnarchyExploitFixesFolia/src/main/java/me/moomoo/anarchyexploitfixes/modules/preventions/portals/PreventSpecificEntitiesInPortals.java +++ b/AnarchyExploitFixesFolia/src/main/java/me/moomoo/anarchyexploitfixes/modules/preventions/portals/PreventSpecificEntitiesInPortals.java @@ -22,8 +22,8 @@ public PreventSpecificEntitiesInPortals() { shouldEnable(); AnarchyExploitFixes.getConfiguration().getList( "preventions.portals.prevent-specific-types.entities", - List.of("DROPPED_ITEM", "FIREWORK", "PRIMED_TNT", "EXPERIENCE_ORB", "ARMOR_STAND"), - "Canceling on DROPPED_ITEM and FIREWORK can help prevent lag and potential dupes." + List.of("DROPPED_ITEM", "FIREWORK", "PRIMED_TNT", "THROWN_EXP_BOTTLE", "EXPERIENCE_ORB", "ARMOR_STAND"), + "Defaults prevent common lag methods." ).forEach(entry -> { try { EntityType entityType = EntityType.valueOf(entry); diff --git a/AnarchyExploitFixesLegacy/build.gradle.kts b/AnarchyExploitFixesLegacy/build.gradle.kts index e44b002bc..569148759 100755 --- a/AnarchyExploitFixesLegacy/build.gradle.kts +++ b/AnarchyExploitFixesLegacy/build.gradle.kts @@ -5,7 +5,7 @@ plugins { dependencies { compileOnly("com.destroystokyo.paper:paper-api:1.12.2-R0.1-SNAPSHOT") - api("com.github.cryptomorin:XSeries:9.6.0") // XSeries for cross-version support + api("com.github.cryptomorin:XSeries:9.8.0") // XSeries for cross-version support api("com.github.ben-manes.caffeine:caffeine:2.9.3") // Fast caching // Use 2.x for Java8 compatibility } diff --git a/AnarchyExploitFixesLegacy/src/main/java/me/moomoo/anarchyexploitfixes/modules/preventions/portals/PreventSpecificEntitiesInPortals.java b/AnarchyExploitFixesLegacy/src/main/java/me/moomoo/anarchyexploitfixes/modules/preventions/portals/PreventSpecificEntitiesInPortals.java index 9ee256982..ad508ad0f 100755 --- a/AnarchyExploitFixesLegacy/src/main/java/me/moomoo/anarchyexploitfixes/modules/preventions/portals/PreventSpecificEntitiesInPortals.java +++ b/AnarchyExploitFixesLegacy/src/main/java/me/moomoo/anarchyexploitfixes/modules/preventions/portals/PreventSpecificEntitiesInPortals.java @@ -21,8 +21,8 @@ public PreventSpecificEntitiesInPortals() { shouldEnable(); AnarchyExploitFixes.getConfiguration().getList( "preventions.portals.prevent-specific-types.entities", - Arrays.asList("DROPPED_ITEM", "FIREWORK", "PRIMED_TNT", "EXPERIENCE_ORB", "ARMOR_STAND"), - "Canceling on DROPPED_ITEM and FIREWORK can help prevent lag and potential dupes." + Arrays.asList("DROPPED_ITEM", "FIREWORK", "PRIMED_TNT", "THROWN_EXP_BOTTLE", "EXPERIENCE_ORB", "ARMOR_STAND"), + "Defaults prevent common lag methods." ).forEach(entry -> { try { EntityType entityType = EntityType.valueOf(entry);