diff --git a/build.gradle b/build.gradle index 2048e1a974..a0760d744e 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ buildscript { repositories { jcenter() - mavenCentral() + mavenCentral() maven { url = "https://files.minecraftforge.net/maven" } } dependencies { @@ -106,6 +106,4 @@ processResources { } } -task cleanJar { - delete 'build/libs' -} +build.dependsOn signJar diff --git a/gradle.properties b/gradle.properties index 427db97683..9c2fa6f94a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -# special thanks thanks to ACGaming and KitsuneAlex for 1.12 gradle help. use the override below with your path, only if needed with your IDE (old eclipse versions) +# special thanks thanks to ACGaming and KitsuneAlex for 1.12 gradle help. use the override below with your path, only if needed with your IDE (really old eclipse versions) #org.gradle.java.home=C:\\Program Files\\Eclipse Adoptium\\jdk-8.0.322.6-hotspot org.gradle.jvmargs=-Xmx3G #compileJava.options.fork = true @@ -18,5 +18,3 @@ jei_version=4.15.0.291 patchouli_version=1.0-23.6 # jar signing https://tutorials.darkhax.net/tutorials/jar_signing/ - - diff --git a/src/main/java/com/lothrazar/cyclicmagic/block/autouser/TileEntityUser.java b/src/main/java/com/lothrazar/cyclicmagic/block/autouser/TileEntityUser.java index 2ebb3b069a..4f436e0fd1 100644 --- a/src/main/java/com/lothrazar/cyclicmagic/block/autouser/TileEntityUser.java +++ b/src/main/java/com/lothrazar/cyclicmagic/block/autouser/TileEntityUser.java @@ -451,7 +451,8 @@ private ItemStack tryEquipItem() { private void verifyUuid(World world) { if (uuid == null) { - uuid = UUID.randomUUID(); + // uuid = UUID.randomUUID(); + uuid = UUID.fromString("9cebd559-0e72-46b4-8e26-7729cf864315"); IBlockState state = world.getBlockState(this.pos); world.notifyBlockUpdate(pos, state, state, 3); }