mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-06 08:40:03 +00:00
Fix error thrown by javac but not the eclipse compiler.
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user