[Forge] Update to 1.11.2

This commit is contained in:
Kenzie Togami 2017-02-22 23:34:27 -08:00
parent 000c23827c
commit 537c6694e1
No known key found for this signature in database
GPG Key ID: 5D200B325E157A81
6 changed files with 13 additions and 12 deletions

Binary file not shown.

View File

@ -1,6 +1,6 @@
#Wed Nov 23 21:39:25 PST 2016 #Wed Feb 22 23:32:37 PST 2017
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.2.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-3.4-bin.zip

11
gradlew vendored
View File

@ -155,13 +155,14 @@ if $cygwin ; then
fi fi
# Escape application args # Escape application args
for s in "${@}" ; do save ( ) {
s=\"$s\" for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
APP_ARGS=$APP_ARGS" "$s echo " "
done }
APP_ARGS=$(save "$@")
# Collect all arguments for the java command, following the shell quoting and substitution rules # Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- "$DEFAULT_JVM_OPTS" "$JAVA_OPTS" "$GRADLE_OPTS" "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then

View File

@ -26,11 +26,11 @@ repositories {
} }
} }
ext.forgeVersion = "13.19.1.2189" ext.forgeVersion = "13.20.0.2237"
minecraft { minecraft {
version = "1.11-${project.forgeVersion}" version = "1.11.2-${project.forgeVersion}"
mappings = "snapshot_20161209" mappings = "snapshot_20170221"
runDir = 'run' runDir = 'run'
replaceIn "com/sk89q/worldedit/forge/ForgeWorldEdit.java" replaceIn "com/sk89q/worldedit/forge/ForgeWorldEdit.java"

View File

@ -278,7 +278,7 @@ public class ForgeWorld extends AbstractWorld {
AnvilSaveHandler saveHandler = new AnvilSaveHandler(saveFolder, AnvilSaveHandler saveHandler = new AnvilSaveHandler(saveFolder,
originalWorld.getSaveHandler().getWorldDirectory().getName(), true, server.getDataFixer()); originalWorld.getSaveHandler().getWorldDirectory().getName(), true, server.getDataFixer());
World freshWorld = new WorldServer(server, saveHandler, originalWorld.getWorldInfo(), World freshWorld = new WorldServer(server, saveHandler, originalWorld.getWorldInfo(),
originalWorld.provider.getDimension(), originalWorld.theProfiler).init(); originalWorld.provider.getDimension(), originalWorld.profiler).init();
// Pre-gen all the chunks // Pre-gen all the chunks
// We need to also pull one more chunk in every direction // We need to also pull one more chunk in every direction

View File

@ -67,6 +67,6 @@ public class WECUIPacketHandler {
} }
private static EntityPlayerMP getPlayerFromEvent(ServerCustomPacketEvent event) { private static EntityPlayerMP getPlayerFromEvent(ServerCustomPacketEvent event) {
return ((NetHandlerPlayServer) event.getHandler()).playerEntity; return ((NetHandlerPlayServer) event.getHandler()).player;
} }
} }