diff options
-rw-r--r-- | Essentials/src/com/earth2me/essentials/signs/SignPlayerListener.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/signs/SignPlayerListener.java b/Essentials/src/com/earth2me/essentials/signs/SignPlayerListener.java index 1df9e3640..a97c234fa 100644 --- a/Essentials/src/com/earth2me/essentials/signs/SignPlayerListener.java +++ b/Essentials/src/com/earth2me/essentials/signs/SignPlayerListener.java @@ -28,6 +28,10 @@ public class SignPlayerListener extends PlayerListener } final Block block = event.getClickedBlock(); + if (block == null) + { + return; + } final int mat = block.getTypeId(); if (mat == Material.SIGN_POST.getId() || mat == Material.WALL_SIGN.getId()) { |