mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-09-09 22:38:04 +02:00
Fix Citizens messing with unrelated entities, fixes #234
This commit is contained in:
parent
9cd19d8509
commit
93dca55a4f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user