9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2026-01-03 22:26:12 +00:00

Fakeplayer Resident (#17)

This commit is contained in:
violetc
2023-02-17 11:52:33 +08:00
parent 367a6bb85e
commit 1f2f9a3bdd
49 changed files with 233 additions and 127 deletions

View File

@@ -142,10 +142,10 @@ index 856055eeac058290b9b2146a11f5faccd1873df0..3fd487f9302f428171539e18f09f05c9
return pos.isInsideBuildHeightAndWorldBoundsHorizontal(this); // Paper - use better/optimized check
}
diff --git a/src/main/java/top/leavesmc/leaves/LeavesConfig.java b/src/main/java/top/leavesmc/leaves/LeavesConfig.java
index 03adee1f7fc55abee6826a3bc0689a8bd75f8f18..fa65619eac5566cecb52c6723fa763071d22c243 100644
index 0ccfd68c1ad10dd5c8c8c875e6db77efc7981ea9..e75b3dcddd28c8ed462cfa324177ce042d4bfac2 100644
--- a/src/main/java/top/leavesmc/leaves/LeavesConfig.java
+++ b/src/main/java/top/leavesmc/leaves/LeavesConfig.java
@@ -266,6 +266,11 @@ public final class LeavesConfig {
@@ -268,6 +268,11 @@ public final class LeavesConfig {
enableSuffocationOptimization = getBoolean("settings.performance.enable-suffocation-optimization", enableSuffocationOptimization);
}