mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 01:39:52 +03:00
12 lines
471 B
Diff
12 lines
471 B
Diff
--- ../src-base/minecraft/net/minecraft/tileentity/TileEntityPiston.java
|
|
+++ ../src-work/minecraft/net/minecraft/tileentity/TileEntityPiston.java
|
|
@@ -145,7 +145,7 @@
|
|
|
|
if (!list1.isEmpty())
|
|
{
|
|
- boolean flag = this.pistonState.getBlock() == Blocks.SLIME_BLOCK;
|
|
+ boolean flag = this.pistonState.getBlock().isStickyBlock(this.pistonState);
|
|
|
|
for (int i = 0; i < list1.size(); ++i)
|
|
{
|