mirror of
https://github.com/Samsuik/Sakura.git
synced 2025-12-30 12:19:08 +00:00
Fix mistake while backporting
This commit is contained in:
@@ -18,14 +18,15 @@ index b2ae26cb6cac23c8da52106c398fab1c954020b4..c4a6d05e090c2307e6f262510283b7ee
|
||||
|
||||
public Explosion explosion = new Explosion();
|
||||
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 c7ee16e80eab05fb80cc8ad04315cc68fa933af5..78dd7305ec1e8ca0d9e625b005c94f401f889811 100644
|
||||
index c7ee16e80eab05fb80cc8ad04315cc68fa933af5..d310e2753beabd192e5e18efde63c7a023904983 100644
|
||||
--- a/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java
|
||||
+++ b/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java
|
||||
@@ -72,6 +72,7 @@ public class FallingBlockEntity extends Entity {
|
||||
|
||||
@@ -73,7 +73,7 @@ public class FallingBlockEntity extends Entity {
|
||||
public FallingBlockEntity(EntityType<? extends FallingBlockEntity> type, Level world) {
|
||||
super(type, world);
|
||||
+ this.dropItem = world.sakuraConfig().cannons.sand.dropItems; // Sakura - configure falling blocks dropping items
|
||||
this.blockState = Blocks.SAND.defaultBlockState();
|
||||
this.dropItem = true;
|
||||
- this.dropItem = true;
|
||||
+ this.dropItem = world.sakuraConfig().cannons.sand.dropItems; // Sakura - configure falling blocks dropping items
|
||||
this.fallDamageMax = 40;
|
||||
this.isFallingBlock = true; // Sakura
|
||||
this.loadChunks = world.sakuraConfig().cannons.loadChunks; // Sakura - falling blocks load chunks
|
||||
|
||||
Reference in New Issue
Block a user