Removed FIXME.
This commit is contained in:
parent
3b6cf7ea5d
commit
93c7ea784c
@ -326,7 +326,7 @@ public class ComponentPreset implements Comparable<ComponentPreset> {
|
|||||||
double d = ((Material)value).getDensity();
|
double d = ((Material)value).getDensity();
|
||||||
os.writeDouble(d);
|
os.writeDouble(d);
|
||||||
} else if ( key.getType() == Shape.class ) {
|
} else if ( key.getType() == Shape.class ) {
|
||||||
// FIXME - this is ugly to use the ordinal but what else?
|
// this is ugly to use the ordinal but what else?
|
||||||
int i = ((Shape)value).ordinal();
|
int i = ((Shape)value).ordinal();
|
||||||
os.writeInt(i);
|
os.writeInt(i);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user