mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-30 12:29:18 +00:00
Fix falling block not expire (#51)
This commit is contained in:
@@ -56,18 +56,9 @@ index ca82b601e99a64038e71b051510f6d1cc57b2f8f..8a30a18a24986f0c54483f69410e5dac
|
||||
}
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java b/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java
|
||||
index eff81e846f696349b3bd3d26c02442f157b169f0..0352808f4b2783e7f941c6224f5929b98b95d51e 100644
|
||||
index eff81e846f696349b3bd3d26c02442f157b169f0..652070db14065a66b46ffcebbb2c0c2ad2db6f2a 100644
|
||||
--- a/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java
|
||||
+++ b/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java
|
||||
@@ -64,7 +64,7 @@ public class FallingBlockEntity extends Entity {
|
||||
@Nullable
|
||||
public CompoundTag blockData;
|
||||
protected static final EntityDataAccessor<BlockPos> DATA_START_POS = SynchedEntityData.defineId(FallingBlockEntity.class, EntityDataSerializers.BLOCK_POS);
|
||||
- public boolean autoExpire = true; // Paper - Auto expire setting
|
||||
+ public boolean autoExpire = false; // Paper - Auto expire setting -> Leaves - close it
|
||||
|
||||
public FallingBlockEntity(EntityType<? extends FallingBlockEntity> type, Level world) {
|
||||
super(type, world);
|
||||
@@ -130,11 +130,7 @@ public class FallingBlockEntity extends Entity {
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user