Fixing small issue with GrapheneObject class

This commit is contained in:
Nelson R. Perez 2017-01-18 22:29:38 -05:00
parent 4d214659d3
commit 9c5d2e1be0

View file

@ -75,9 +75,9 @@ public class GrapheneObject {
} }
case IMPLEMENTATION_SPACE: case IMPLEMENTATION_SPACE:
switch(type){ switch(type){
case 1: case 0:
return ObjectType.GLOBAL_PROPERTY_OBJECT; return ObjectType.GLOBAL_PROPERTY_OBJECT;
case 2: case 1:
return ObjectType.DYNAMIC_GLOBAL_PROPERTY_OBJECT; return ObjectType.DYNAMIC_GLOBAL_PROPERTY_OBJECT;
case 3: case 3:
return ObjectType.ASSET_DYNAMIC_DATA; return ObjectType.ASSET_DYNAMIC_DATA;
@ -107,4 +107,4 @@ public class GrapheneObject {
} }
return null; return null;
} }
} }