This commit is contained in:
Anuken
2026-04-22 09:44:46 -04:00
parent 6442f9ebe9
commit 68145c1bac
+1 -1
View File
@@ -147,7 +147,7 @@ public class TypeIO{
}else if(object instanceof UnitCommand command){
write.b(23);
write.s(command.id);
}else if(object instanceof Bullet b){ //write bullets as null
}else if(object instanceof Bullet b || object instanceof Seq<?> s){ //write bullets as null
write.b((byte)0);
}else{
throw new IllegalArgumentException("Unknown object type: " + object.getClass());