Allow using old ender pearl behavior & apply ender pearl exploit patch (#11524)
When enabled, ender pearls will not load chunks and will save to the world instead of the player. Also changes the exploit config to be default false, as it only makes sense when legacy behavior is enabled.
This commit is contained in:
parent
13308806ac
commit
580a610550
12 changed files with 81 additions and 19 deletions
|
@ -1423,10 +1423,10 @@ index 0000000000000000000000000000000000000000..279b24c689b9979884b65df7eb1f0590
|
|||
+}
|
||||
diff --git a/src/main/java/io/papermc/paper/configuration/WorldConfiguration.java b/src/main/java/io/papermc/paper/configuration/WorldConfiguration.java
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..a81a332ffb80e67d7f886295099b5cd2ae8994c5
|
||||
index 0000000000000000000000000000000000000000..dad3fcc689ec806f985122a7cbd501a7d0fd0d36
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/io/papermc/paper/configuration/WorldConfiguration.java
|
||||
@@ -0,0 +1,580 @@
|
||||
@@ -0,0 +1,581 @@
|
||||
+package io.papermc.paper.configuration;
|
||||
+
|
||||
+import com.google.common.collect.HashBasedTable;
|
||||
|
@ -1889,7 +1889,7 @@ index 0000000000000000000000000000000000000000..a81a332ffb80e67d7f886295099b5cd2
|
|||
+
|
||||
+ public class Fixes extends ConfigurationPart {
|
||||
+ public boolean fixItemsMergingThroughWalls = false;
|
||||
+ public boolean disableUnloadedChunkEnderpearlExploit = true;
|
||||
+ public boolean disableUnloadedChunkEnderpearlExploit = false;
|
||||
+ public boolean preventTntFromMovingInWater = false;
|
||||
+ public boolean splitOverstackedLoot = true;
|
||||
+ public IntOr.Disabled fallingBlockHeightNerf = IntOr.Disabled.DISABLED;
|
||||
|
@ -1997,6 +1997,7 @@ index 0000000000000000000000000000000000000000..a81a332ffb80e67d7f886295099b5cd2
|
|||
+ public boolean disableSprintInterruptionOnAttack = false;
|
||||
+ public int shieldBlockingDelay = 5;
|
||||
+ public boolean disableRelativeProjectileVelocity = false;
|
||||
+ public boolean legacyEnderPearlBehavior = false;
|
||||
+
|
||||
+ public enum RedstoneImplementation {
|
||||
+ VANILLA, EIGENCRAFT, ALTERNATE_CURRENT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue