Skip to content

Commit

Permalink
improve defaults and update XSeries
Browse files Browse the repository at this point in the history
  • Loading branch information
xGinko committed Dec 28, 2023
1 parent 50ac971 commit 908412d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion AnarchyExploitFixesLegacy/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 908412d

Please sign in to comment.