Mappings Update

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2018-12-06 10:00:00 +11:00
parent e9e6bec4e5
commit 102dee7d4f
123 changed files with 393 additions and 442 deletions

View File

@@ -127,7 +127,7 @@ public class Commodore
ClassReader cr = new ClassReader( b );
ClassWriter cw = new ClassWriter( cr, 0 );
cr.accept( new ClassVisitor( Opcodes.ASM7_EXPERIMENTAL, cw )
cr.accept( new ClassVisitor( Opcodes.ASM7, cw )
{
@Override
public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)

View File

@@ -35,7 +35,7 @@ public class CraftNBTTagConfigSerializer {
return baseList;
} else if (base instanceof NBTTagString) {
return base.b_(); //PAIL Rename getString
return base.asString();
}
return base.toString();
@@ -66,12 +66,12 @@ public class CraftNBTTagConfigSerializer {
if (ARRAY.matcher(string).matches()) {
try {
return new MojangsonParser(new StringReader(string)).h(); // PAIL Rename parseTagList
return new MojangsonParser(new StringReader(string)).parseArray();
} catch (CommandSyntaxException e) {
throw new RuntimeException("Could not deserialize found list ", e);
}
} else {
return MOJANGSON_PARSER.b(string); // PAIL Rename parse tagBase
return MOJANGSON_PARSER.parseLiteral(string);
}
}

View File

@@ -33,7 +33,7 @@ public class CraftRayTraceResult {
}
Block hitBlock = null;
BlockPosition nmsBlockPos = nmsHitResult.a(); // PAIL: getBlockPosition
BlockPosition nmsBlockPos = nmsHitResult.getBlockPosition();
if (nmsBlockPos != null && world != null) {
hitBlock = world.getBlockAt(nmsBlockPos.getX(), nmsBlockPos.getY(), nmsBlockPos.getZ());
}

View File

@@ -194,7 +194,7 @@ public class DummyGeneratorAccess implements GeneratorAccess {
}
@Override
public Fluid b(BlockPosition bp) {
public Fluid getFluid(BlockPosition bp) {
throw new UnsupportedOperationException("Not supported yet.");
}