mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-01-27 10:31:36 +01:00
Birch boats are also vehicles.
Fixes WORLDGUARD-3740.
This commit is contained in:
parent
2aaa14261b
commit
e5e1f71a2a
@ -710,7 +710,8 @@ public static boolean isBoat(Material material) {
|
||||
|| material == Material.BOAT_ACACIA
|
||||
|| material == Material.BOAT_SPRUCE
|
||||
|| material == Material.BOAT_DARK_OAK
|
||||
|| material == Material.BOAT_JUNGLE;
|
||||
|| material == Material.BOAT_JUNGLE
|
||||
|| material == Material.BOAT_BIRCH;
|
||||
} catch (NoSuchFieldError ignored) {
|
||||
return material == Material.BOAT;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user