Increment and get entity id, not the reverse
This commit is contained in:
		| @@ -214,7 +214,7 @@ public class ReflectionManager { | |||||||
|  |  | ||||||
|             if (increment) { |             if (increment) { | ||||||
|                 if (NmsVersion.v1_14.isSupported()) { |                 if (NmsVersion.v1_14.isSupported()) { | ||||||
|                     return ((AtomicInteger) entityCount).getAndIncrement(); |                     return ((AtomicInteger) entityCount).incrementAndGet(); | ||||||
|                 } else { |                 } else { | ||||||
|                     int id = entityCount.intValue(); |                     int id = entityCount.intValue(); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user