#1282 Crash with facades and wrench in hand.

This commit is contained in:
tterrag1098 committed 2014-11-22 08:51:36 -05:00
1 parent 5cb34bf8b8
commit dc079ecbe9
1 file changed
+1 -1
@@ -82,7 +82,7 @@ public class ToolUtil {
private boolean isToolEquippedImpl(EntityPlayer player) {
ITool tool = getEquippedToolImpl(player);
return tool != null && tool.shouldHideFacades(player.getCurrentEquippedItem(), player);
return tool != null && player != null && tool.shouldHideFacades(player.getCurrentEquippedItem(), player);
}
private ITool getEquippedToolImpl(EntityPlayer player) {