Updated uCore, bugfixes, changed build script

This commit is contained in:
Anuken
2018-02-09 00:15:27 -05:00
parent 1f4a72d459
commit 30b4b78f9f
6 changed files with 7 additions and 7 deletions

View File

@@ -48,7 +48,7 @@ public class NetServer extends Module{
Net.handleServer(ConnectPacket.class, (id, packet) -> {
if(packet.version != Version.build && packet.version != -1){ //ignore 'custom builds'
if(packet.version != Version.build && packet.version != -1 && Version.build != -1){ //ignore 'custom builds' on both ends
Net.kickConnection(id, packet.version > Version.build ? KickReason.serverOutdated : KickReason.clientOutdated);
return;
}

View File

@@ -141,7 +141,7 @@ public class Enemy extends SyncEntity {
this.health = health;
interpolator.read(this.x, this.y, x, y, angle, time);
interpolator.read(this.x, this.y, x, y, angle/2f, time);
}
public void shoot(BulletType bullet){