If the entity exists, you can make the page. Not only if the entity doesn't exist >_>

This commit is contained in:
unknown 2015-01-21 15:49:06 -06:00
parent e97761fe30
commit 74448ce5a3

View file

@ -117,7 +117,7 @@ public class Lexicon {
MineTweakerAPI.getLogger().logError("Cannot find lexicon entry "+entry);
return;
}
if(EntityList.stringToClassMapping.containsKey(entity))
if(!EntityList.stringToClassMapping.containsKey(entity))
{
MineTweakerAPI.getLogger().logError("No such entity "+entity);
return;