If the entity exists, you can make the page. Not only if the entity doesn't exist >_>
This commit is contained in:
parent
e97761fe30
commit
74448ce5a3
|
@ -117,7 +117,7 @@ public class Lexicon {
|
||||||
MineTweakerAPI.getLogger().logError("Cannot find lexicon entry "+entry);
|
MineTweakerAPI.getLogger().logError("Cannot find lexicon entry "+entry);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(EntityList.stringToClassMapping.containsKey(entity))
|
if(!EntityList.stringToClassMapping.containsKey(entity))
|
||||||
{
|
{
|
||||||
MineTweakerAPI.getLogger().logError("No such entity "+entity);
|
MineTweakerAPI.getLogger().logError("No such entity "+entity);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue