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

@ -20,7 +20,7 @@
<activity
android:name="io.anuke.mindustry.AndroidLauncher"
android:label="@string/app_name"
android:screenOrientation="user"
android:screenOrientation="sensor"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout">
<intent-filter>

View File

@ -93,7 +93,7 @@ android {
applicationId "io.anuke.mindustry"
minSdkVersion 14
targetSdkVersion 27
targetSdkVersion 28
versionCode code
versionName versionNameResult
}

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;
}