Skip to content

Commit

Permalink
Try to fix packets
Browse files Browse the repository at this point in the history
  • Loading branch information
Slotterleet committed Jun 17, 2024
1 parent 6fad763 commit 0cf9c64
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/fos/net/FOSCall.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
import fos.type.blocks.special.UpgradeCenter;
import fos.type.bullets.StickyBulletType;
import mindustry.gen.Player;
import mindustry.net.NetConnection;
import mindustry.net.*;
import mindustry.world.Tile;

import static mindustry.Vars.*;

public class FOSCall {
public static void registerPackets() {

Net.registerPacket(UpgradePacket::new);
Net.registerPacket(DetonatePacket::new);
}

public static void upgrade(Player player, Tile tile) {
Expand Down

0 comments on commit 0cf9c64

Please sign in to comment.