mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-01 18:50:27 +03:00
Fixed #11958
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user