@@ -1,8 +1,8 @@
|
||||
--- a/net/minecraft/server/BlockPiston.java
|
||||
+++ b/net/minecraft/server/BlockPiston.java
|
||||
@@ -7,6 +7,14 @@
|
||||
import java.util.Map;
|
||||
import java.util.Map.Entry;
|
||||
--- a/net/minecraft/world/level/block/piston/BlockPiston.java
|
||||
+++ b/net/minecraft/world/level/block/piston/BlockPiston.java
|
||||
@@ -36,6 +36,14 @@
|
||||
import net.minecraft.world.phys.shapes.VoxelShapeCollision;
|
||||
import net.minecraft.world.phys.shapes.VoxelShapes;
|
||||
|
||||
+// CraftBukkit start
|
||||
+import com.google.common.collect.ImmutableList;
|
||||
@@ -15,7 +15,7 @@
|
||||
public class BlockPiston extends BlockDirectional {
|
||||
|
||||
public static final BlockStateBoolean EXTENDED = BlockProperties.g;
|
||||
@@ -103,6 +111,18 @@
|
||||
@@ -132,6 +140,18 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
world.playBlockAction(blockposition, this, b0, enumdirection.c());
|
||||
}
|
||||
|
||||
@@ -279,6 +299,48 @@
|
||||
@@ -308,6 +328,48 @@
|
||||
IBlockData[] aiblockdata = new IBlockData[list.size() + list2.size()];
|
||||
EnumDirection enumdirection1 = flag ? enumdirection : enumdirection.opposite();
|
||||
int j = 0;
|
||||
|
||||
Reference in New Issue
Block a user