[Forge] Update to latest 1.11.2 mappings

This commit is contained in:
Kenzie Togami 2017-08-01 23:01:12 -07:00
parent 4ec5411ba6
commit cd4729f82f
No known key found for this signature in database
GPG Key ID: 5D200B325E157A81
4 changed files with 5 additions and 5 deletions

View File

@ -90,6 +90,7 @@ subprojects {
targetCompatibility = 1.7
checkstyle.configFile = new File(rootProject.projectDir, "config/checkstyle/checkstyle.xml")
checkstyle.toolVersion = '7.6.1'
repositories {
mavenCentral()

View File

@ -27,7 +27,6 @@
<property name="max" value="2"/>
</module>
<module name="SuperFinalize"/> <!-- We don't actually use this -->
<module name="JUnitTestCase"/> <!-- Checks tearDown(), setUp() etc. -->
<!-- Style -->
<module name="LeftCurly"> <!-- Left brace never goes on another line -->
@ -61,4 +60,4 @@
<property name="headerFile" value="${basedir}/config/checkstyle/header.txt"/>
<property name="fileExtensions" value="java"/>
</module>
</module>
</module>

View File

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

View File

@ -36,7 +36,7 @@ final class ForgeAdapter {
}
public static Vector adapt(Vec3d vector) {
return new Vector(vector.xCoord, vector.yCoord, vector.zCoord);
return new Vector(vector.x, vector.y, vector.z);
}
public static Vector adapt(BlockPos pos) {