mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 00:47:50 +00:00
Merge pull request #57 from c0508383/master
GUI fixes for NPC entity selection.
This commit is contained in:
1 file changed
+1
-1
@@ -115,7 +115,7 @@ public class GuiEntitySelection extends GuiNPCInterface
|
||||
super.drawScreen(i, j, f);
|
||||
}
|
||||
public void elementClicked(){
|
||||
if (playerdata.getEntityClass().equals(parent.data.get(slot.selected))) {
|
||||
if (playerdata.getEntityClass() != null && playerdata.getEntityClass().equals(parent.data.get(slot.selected))) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user