Changed jar file name and version. Removed useless leftover variable.
This commit is contained in:
@ -13,9 +13,9 @@ apply plugin: 'net.minecraftforge.gradle'
|
|||||||
apply plugin: 'eclipse'
|
apply plugin: 'eclipse'
|
||||||
apply plugin: 'maven-publish'
|
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
|
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.
|
// 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)
|
java.toolchain.languageVersion = JavaLanguageVersion.of(16)
|
||||||
|
|||||||
@ -13,7 +13,6 @@ import net.minecraftforge.fmllegacy.network.simple.SimpleChannel;
|
|||||||
public class LoginProtection {
|
public class LoginProtection {
|
||||||
public static final String MOD_ID = "loginprotection";
|
public static final String MOD_ID = "loginprotection";
|
||||||
public static ProtectedPlayers protected_players = new ProtectedPlayers();
|
public static ProtectedPlayers protected_players = new ProtectedPlayers();
|
||||||
public static boolean has_pressed_key = false;
|
|
||||||
|
|
||||||
private static final String PROTOCOL_VERSION = "1";
|
private static final String PROTOCOL_VERSION = "1";
|
||||||
public static final SimpleChannel INSTANCE = NetworkRegistry.newSimpleChannel(
|
public static final SimpleChannel INSTANCE = NetworkRegistry.newSimpleChannel(
|
||||||
|
|||||||
Reference in New Issue
Block a user