Updated Gradle and Forge

-Updated Gradle wrapper to Gradle 3.5
-Updated Forge to 12.18.3.2281
-Added a comment somewhere :P
This commit is contained in:
Mathijs Riezebos 2017-04-18 13:22:57 +02:00
parent 22d7e142e7
commit f3abbc89b1
4 changed files with 4 additions and 4 deletions

View file

@ -12,7 +12,7 @@ apply plugin: 'net.minecraftforge.gradle.forge'
ext.modversion = "3.0.0-a1"
ext.mcversion = "1.10.2"
ext.forgeversion = "12.18.3.2221"
ext.forgeversion = "12.18.3.2281"
//spongeSchematicVersion = "1"
version = mcversion + "-" + modversion

Binary file not shown.

View file

@ -1,6 +1,6 @@
#Wed Jan 11 15:34:03 CET 2017
#Tue Apr 18 12:43:58 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-bin.zip

View file

@ -95,7 +95,7 @@ public class TileEntityDimDoor extends DDTileEntityBase {
protected int getNewTeleportDestination() {
int otherRiftID;
Location locationOfThisRift = RiftRegistry.INSTANCE.getRiftLocation(this.riftID);
Location locationOfThisRift = RiftRegistry.INSTANCE.getRiftLocation(this.riftID); //returns null if this rift isn't registered
if (locationOfThisRift.getDimensionID() == DimDoorDimensions.getPocketDimensionType(EnumPocketType.DUNGEON).getId()) { //if this dimdoor is a pocket Dungeon
//choose between generating a new pocket or connecting to another door on a similar or close depth
if (DDRandomUtils.weightedBoolean(20, 80)) { //@todo make this configurable