mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-02-28 18:21:20 +01: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