mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-28 07:22:21 -08:00
Fixed #10550
This commit is contained in:
parent
1911fced21
commit
2fea619357
1 changed files with 1 additions and 1 deletions
|
|
@ -463,7 +463,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
|||
|
||||
@Remote(targets = Loc.both, called = Loc.server)
|
||||
public static void requestUnitPayload(Player player, Unit target){
|
||||
if(player == null || !(player.unit() instanceof Payloadc pay)) return;
|
||||
if(player == null || !(player.unit() instanceof Payloadc pay) || target == null) return;
|
||||
|
||||
Unit unit = player.unit();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue