mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-24 21:41:25 -08:00
Crash fix
This commit is contained in:
parent
d88923bb71
commit
2569b2139d
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue