mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-22 13:10:13 +00:00
#1282 Crash with facades and wrench in hand.
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user