Merge pull request #249 from mcmonkey4eva/EntityPatch

Fix Citizens messing with unrelated entities, fixes #234
This commit is contained in:
fullwall 2015-02-24 14:33:21 +08:00
commit 5ff83b53de

View File

@ -342,7 +342,6 @@ public class NMS {
if (!ENTITY_CLASS_TO_INT.containsKey(search))
continue;
int code = ENTITY_CLASS_TO_INT.get(search);
ENTITY_INT_TO_CLASS.put(code, clazz);
ENTITY_CLASS_TO_INT.put(clazz, code);
ENTITY_CLASS_TO_NAME.put(clazz, ENTITY_CLASS_TO_NAME.get(search));
return;