mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-22 17:18:37 +01:00
parent
19f03cd70e
commit
bcdbbe9546
@ -448,7 +448,7 @@ public class EssentialsSign {
|
|||||||
try {
|
try {
|
||||||
final WallSign signData = (WallSign) block.getState().getBlockData();
|
final WallSign signData = (WallSign) block.getState().getBlockData();
|
||||||
return signData.getFacing();
|
return signData.getFacing();
|
||||||
} catch (NoClassDefFoundError e) {
|
} catch (NoClassDefFoundError | NoSuchMethodError e) {
|
||||||
final org.bukkit.material.Sign signMat = (org.bukkit.material.Sign) block.getState().getData();
|
final org.bukkit.material.Sign signMat = (org.bukkit.material.Sign) block.getState().getData();
|
||||||
return signMat.getFacing();
|
return signMat.getFacing();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user