mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 03:07:19 +00:00
Fix error thrown by javac but not the eclipse compiler.
This commit is contained in:
1 parent
0b6e0bdc60
commit
7dab24a64d
1 file changed
+3
-3
@@ -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