Skip to content

Commit

Permalink
Fix Citizens messing with unrelated entities, fixes #234
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Feb 21, 2015
1 parent 7d0d722 commit d7e72c0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/net/citizensnpcs/util/NMS.java
Expand Up @@ -342,7 +342,6 @@ public static void registerEntityClass(Class<?> clazz) {
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;
Expand Down

0 comments on commit d7e72c0

Please sign in to comment.