diff --git a/src/main/java/electrosphere/entity/types/EntityTypes.java b/src/main/java/electrosphere/entity/types/EntityTypes.java index 7f8e1ab0..98e5946b 100644 --- a/src/main/java/electrosphere/entity/types/EntityTypes.java +++ b/src/main/java/electrosphere/entity/types/EntityTypes.java @@ -11,22 +11,23 @@ public class EntityTypes { * The non-common entity types have a unique creation flow */ public static enum EntityType { + /** + * The common entity type + */ + COMMON(0), /** * A creature */ - CREATURE(0), + CREATURE(1), /** * An item */ - ITEM(1), - /** - * The common entity type - */ - COMMON(2), + ITEM(2), /** * A piece of foliage */ - FOLIAGE(3); + FOLIAGE(3) + ; /** * the value of the enum @@ -59,11 +60,11 @@ public class EntityTypes { public static EntityType fromInt(int value){ switch(value){ case 0: - return EntityType.CREATURE; - case 1: - return EntityType.ITEM; - case 2: return EntityType.COMMON; + case 1: + return EntityType.CREATURE; + case 2: + return EntityType.ITEM; case 3: return EntityType.FOLIAGE; }