mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-06-26 06:24:51 +02:00
Fix pistons flag not applying to sticky pistons pulling.
This commit is contained in:
parent
121b34ecb9
commit
26477406f1
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user