Updated uCore

This commit is contained in:
Anuken
2018-04-03 23:58:33 -04:00
parent efd9280f96
commit 0559b43bde
5 changed files with 12 additions and 13 deletions

View File

@@ -113,6 +113,8 @@ public class NetEvents {
packet.rotation = angle;
packet.playerid = Vars.player.id;
Net.send(packet, SendMode.udp);
handleWeaponSwitch();
}
public static void handlePlace(int x, int y, Block block, int rotation){

View File

@@ -1,5 +1,6 @@
package io.anuke.mindustry.net;
import com.badlogic.gdx.utils.IntIntMap;
import io.anuke.mindustry.world.Block;
import io.anuke.mindustry.world.blocks.Blocks;
@@ -9,8 +10,7 @@ public class TraceInfo {
public boolean modclient;
public boolean android;
public int fastShots;
public long lastFastShot;
public IntIntMap fastShots = new IntIntMap();
public int totalBlocksBroken;
public int structureBlocksBroken;