mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-20 23:39:34 +00:00
fix: remove debug output (#740)
This commit is contained in:
@@ -1424,7 +1424,7 @@ index 363d85c96bd3fb1a1945595df36e30bd6dd2fa4e..542910b3d5faa85f2b14022932c058bc
|
|||||||
+ // Leaves end - Lithium Sleeping Block Entity
|
+ // Leaves end - Lithium Sleeping Block Entity
|
||||||
}
|
}
|
||||||
diff --git a/net/minecraft/world/level/block/entity/HopperBlockEntity.java b/net/minecraft/world/level/block/entity/HopperBlockEntity.java
|
diff --git a/net/minecraft/world/level/block/entity/HopperBlockEntity.java b/net/minecraft/world/level/block/entity/HopperBlockEntity.java
|
||||||
index d3e1a968fdbba65a388a67d0d578876188f5dc12..50f25da61740eac611cdcdeebd426fa2fa25653f 100644
|
index d3e1a968fdbba65a388a67d0d578876188f5dc12..d9d3fe8fcf2949a4e82d88ff3936afee184a7948 100644
|
||||||
--- a/net/minecraft/world/level/block/entity/HopperBlockEntity.java
|
--- a/net/minecraft/world/level/block/entity/HopperBlockEntity.java
|
||||||
+++ b/net/minecraft/world/level/block/entity/HopperBlockEntity.java
|
+++ b/net/minecraft/world/level/block/entity/HopperBlockEntity.java
|
||||||
@@ -27,8 +27,29 @@ import net.minecraft.world.level.block.state.BlockState;
|
@@ -27,8 +27,29 @@ import net.minecraft.world.level.block.state.BlockState;
|
||||||
@@ -1585,7 +1585,7 @@ index d3e1a968fdbba65a388a67d0d578876188f5dc12..50f25da61740eac611cdcdeebd426fa2
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void entityInside(Level level, BlockPos pos, BlockState state, Entity entity, HopperBlockEntity blockEntity) {
|
public static void entityInside(Level level, BlockPos pos, BlockState state, Entity entity, HopperBlockEntity blockEntity) {
|
||||||
@@ -968,4 +1030,758 @@ public class HopperBlockEntity extends RandomizableContainerBlockEntity implemen
|
@@ -968,4 +1030,757 @@ public class HopperBlockEntity extends RandomizableContainerBlockEntity implemen
|
||||||
protected AbstractContainerMenu createMenu(int id, Inventory player) {
|
protected AbstractContainerMenu createMenu(int id, Inventory player) {
|
||||||
return new HopperMenu(id, player, this);
|
return new HopperMenu(id, player, this);
|
||||||
}
|
}
|
||||||
@@ -1745,7 +1745,6 @@ index d3e1a968fdbba65a388a67d0d578876188f5dc12..50f25da61740eac611cdcdeebd426fa2
|
|||||||
+
|
+
|
||||||
+ @Override
|
+ @Override
|
||||||
+ public boolean lithium$startSleeping() {
|
+ public boolean lithium$startSleeping() {
|
||||||
+ System.out.println("Starting to sleep: " + this);
|
|
||||||
+ if (this.isSleeping()) {
|
+ if (this.isSleeping()) {
|
||||||
+ return false;
|
+ return false;
|
||||||
+ }
|
+ }
|
||||||
|
|||||||
Reference in New Issue
Block a user