9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-29 20:09:23 +00:00

Open Fakeplayer Inventory (#17)

This commit is contained in:
violetc
2023-03-10 16:25:24 +08:00
parent aad10fbd07
commit 7161b8d231
49 changed files with 357 additions and 115 deletions

View File

@@ -35,10 +35,10 @@ index f577dcc95bba43a2aa8a3a54b3afbcf50e93d52b..42f89171251a5f2dcd6e75eaa1135b34
public boolean hurt(DamageSource source, float amount) {
if (this.isInvulnerableTo(source)) {
diff --git a/src/main/java/top/leavesmc/leaves/LeavesConfig.java b/src/main/java/top/leavesmc/leaves/LeavesConfig.java
index fbf828219bf9712e3baff1196cf9bfc85de58d4e..0ccfd68c1ad10dd5c8c8c875e6db77efc7981ea9 100644
index e80ab1fcd4d7a1a8b607ea17c4f4da8c6eb419b6..00f49a8d6fa8fc460d276f31170d3379f06199bb 100644
--- a/src/main/java/top/leavesmc/leaves/LeavesConfig.java
+++ b/src/main/java/top/leavesmc/leaves/LeavesConfig.java
@@ -263,6 +263,10 @@ public final class LeavesConfig {
@@ -265,6 +265,10 @@ public final class LeavesConfig {
optimizeEntityCoordinateKey = getBoolean("settings.performance.optimize-entity-coordinate-key", optimizeEntityCoordinateKey);
}