Fix Citizens messing with unrelated entities, fixes #234

This commit is contained in:
mcmonkey4eva 2015-02-21 15:01:16 -08:00
parent 9cd19d8509
commit 93dca55a4f

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;