mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-30 22:49:06 +07:00
Crash fix
This commit is contained in:
@ -45,8 +45,8 @@ public class CoreBlock extends StorageBlock{
|
||||
CoreEntity entity = tile.entity();
|
||||
Effects.effect(Fx.spawn, entity);
|
||||
entity.progress = 0;
|
||||
entity.currentUnit.onRespawn(tile);
|
||||
entity.currentUnit = player;
|
||||
entity.currentUnit.onRespawn(tile);
|
||||
entity.currentUnit.heal();
|
||||
entity.currentUnit.rotation = 90f;
|
||||
entity.currentUnit.applyImpulse(0, 8f);
|
||||
|
Reference in New Issue
Block a user