Updated uCore, bugfixes, changed build script
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user