Android build update

This commit is contained in:
Anuken
2018-11-24 19:39:35 -05:00
parent 6bfd57097f
commit ec80fc9f3f
3 changed files with 3 additions and 3 deletions

View File

@@ -120,7 +120,7 @@ public class NetServer extends Module{
return;
}
if(packet.version == -1 && Version.build != -1 && !admins.allowsCustomClients()){
if((packet.version == -1 || !packet.versionType.equals("official")) && Version.build != -1 && !admins.allowsCustomClients()){
kick(id, KickReason.customClient);
return;
}