Fix error thrown by javac but not the eclipse compiler.

This commit is contained in:
Major-
2014-08-06 02:13:04 +01:00
parent 0b6e0bdc60
commit 7dab24a64d
@@ -120,13 +120,13 @@ public final class BinaryPlayerSaver implements PlayerSaver {
out.writeByte(type.getValue()); out.writeByte(type.getValue());
switch (type) { switch (type) {
case BOOLEAN: case BOOLEAN:
out.writeByte((boolean) attribute.getValue() ? 1 : 0); out.writeByte((Boolean) attribute.getValue() ? 1 : 0);
break; break;
case DOUBLE: case DOUBLE:
out.writeDouble((double) attribute.getValue()); out.writeDouble((Double) attribute.getValue());
break; break;
case LONG: case LONG:
out.writeLong((long) attribute.getValue()); out.writeLong((Long) attribute.getValue());
break; break;
case STRING: case STRING:
case SYMBOL: case SYMBOL: