mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 16:49:11 +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());
|
||||
switch (type) {
|
||||
case BOOLEAN:
|
||||
out.writeByte((boolean) attribute.getValue() ? 1 : 0);
|
||||
out.writeByte((Boolean) attribute.getValue() ? 1 : 0);
|
||||
break;
|
||||
case DOUBLE:
|
||||
out.writeDouble((double) attribute.getValue());
|
||||
out.writeDouble((Double) attribute.getValue());
|
||||
break;
|
||||
case LONG:
|
||||
out.writeLong((long) attribute.getValue());
|
||||
out.writeLong((Long) attribute.getValue());
|
||||
break;
|
||||
case STRING:
|
||||
case SYMBOL:
|
||||
|
||||
Reference in New Issue
Block a user