Clean packet registration, misc compile things

This commit is contained in:
covers1624
2020-06-01 15:05:40 +09:30
parent 848f4238d2
commit c1f260d95f
41 changed files with 450 additions and 435 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ public class Splotch
this.pos = data.readByte();
final int val = data.readByte();
this.side = Direction.VALUES[val & 0x07];
this.side = Direction.values()[val & 0x07];
this.color = AEColor.values()[( val >> 3 ) & 0x0F];
this.lumen = ( ( val >> 7 ) & 0x01 ) > 0;
}