mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-02 20:33:50 +07:00
Android build update
This commit is contained in:
parent
6bfd57097f
commit
ec80fc9f3f
@ -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>
|
||||
|
@ -93,7 +93,7 @@ android {
|
||||
|
||||
applicationId "io.anuke.mindustry"
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 27
|
||||
targetSdkVersion 28
|
||||
versionCode code
|
||||
versionName versionNameResult
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user