mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-19 14:59:32 +00:00
Close Paper auto expire FallingBlockEntity
This commit is contained in:
@@ -56,9 +56,18 @@ index 19a64b582bc042e426220e080d9c21b3a82cf3f7..ed12788bcff923986fde022883e71233
|
|||||||
}
|
}
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java b/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java
|
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 ef07967b64180c54338b8fb2ba1780adec87f333..89a0d314786477f580ab5554d6d2526c9a43d662 100644
|
index ef07967b64180c54338b8fb2ba1780adec87f333..0df9c67c22af9fafc5a6f850f017ae3aa01e91b4 100644
|
||||||
--- a/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java
|
--- a/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java
|
||||||
+++ b/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java
|
+++ b/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java
|
||||||
|
@@ -61,7 +61,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);
|
||||||
@@ -127,11 +127,7 @@ public class FallingBlockEntity extends Entity {
|
@@ -127,11 +127,7 @@ public class FallingBlockEntity extends Entity {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user