mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-05-10 22:41:10 -07:00
Fixed #11958
This commit is contained in:
parent
6442f9ebe9
commit
68145c1bac
1 changed files with 1 additions and 1 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue