Changed jar file name and version. Removed useless leftover variable.

This commit is contained in:
2021-09-28 15:51:44 +01:00
parent ec5b203e5a
commit b91f7d5e87
2 changed files with 2 additions and 3 deletions

View File

@ -13,9 +13,9 @@ apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'
version = '1.1.0'
version = '1.17.1-1.1.0'
group = 'com.micle.loginprotection' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = 'loginprotection'
archivesBaseName = 'LoginProtection-Forge'
// Mojang ships Java 16 to end users in 1.17+ instead of Java 8 in 1.16 or lower, so your mod should target Java 16.
java.toolchain.languageVersion = JavaLanguageVersion.of(16)

View File

@ -13,7 +13,6 @@ import net.minecraftforge.fmllegacy.network.simple.SimpleChannel;
public class LoginProtection {
public static final String MOD_ID = "loginprotection";
public static ProtectedPlayers protected_players = new ProtectedPlayers();
public static boolean has_pressed_key = false;
private static final String PROTOCOL_VERSION = "1";
public static final SimpleChannel INSTANCE = NetworkRegistry.newSimpleChannel(