Permalink
Browse files
Fix pistons flag not applying to sticky pistons pulling.
- Loading branch information
|
@@ -944,7 +944,8 @@ public static boolean isRailBlock(Material material) { |
|
|
*/ |
|
|
public static boolean isPistonBlock(Material material) { |
|
|
return material == Material.PISTON |
|
|
|| material == Material.STICKY_PISTON; |
|
|
|| material == Material.STICKY_PISTON |
|
|
|| material == Material.MOVING_PISTON; |
|
|
} |
|
|
|
|
|
/** |
|
|
0 comments on commit
2647740