mirror of
https://github.com/essentials/Essentials.git
synced 2025-01-17 13:28:30 +01:00
Null check for probably corrupted worlds
This commit is contained in:
parent
9c6d49a9e2
commit
0ee6985c56
@ -223,7 +223,7 @@ public class EssentialsSign
|
||||
if (signblock.getType() == Material.WALL_SIGN)
|
||||
{
|
||||
final org.bukkit.material.Sign signMat = (org.bukkit.material.Sign)signblock.getState().getData();
|
||||
if (signMat.getFacing() == blockFace && isValidSign(new BlockSign(signblock)))
|
||||
if (signMat != null && signMat.getFacing() == blockFace && isValidSign(new BlockSign(signblock)))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user