mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-28 00:19:57 +07:00
Fixed dedicated server crash
This commit is contained in:
parent
423f5f16bb
commit
8760e99c43
@ -69,7 +69,9 @@ public class ItemDrop extends SolidEntity implements SaveTrait, SyncTrait, DrawT
|
||||
Effects.effect(UnitFx.pickup, drop);
|
||||
}
|
||||
itemGroup.removeByID(itemid);
|
||||
netClient.addRemovedEntity(itemid);
|
||||
if(Net.client()){
|
||||
netClient.addRemovedEntity(itemid);
|
||||
}
|
||||
}
|
||||
|
||||
/**Internal use only!*/
|
||||
|
Loading…
Reference in New Issue
Block a user