Archiviert
13
0

Chunk position no longer exists, don't sweat if we can't find it

Fixes #64
Dieser Commit ist enthalten in:
Dan Mulloy 2015-03-22 15:30:45 -04:00
Ursprung 37123c0aa1
Commit 16c85ac8b4

Datei anzeigen

@ -1177,7 +1177,7 @@ public class MinecraftReflection {
try {
return getMinecraftClass("ChunkPosition");
} catch (RuntimeException e) {
Class<?> normalChunkGenerator = getCraftBukkitClass("generator.NormalChunkGenerator");
/* Class<?> normalChunkGenerator = getCraftBukkitClass("generator.NormalChunkGenerator");
// ChunkPosition a(net.minecraft.server.World world, String string, int i, int i1, int i2) {
FuzzyMethodContract selected = FuzzyMethodContract.newBuilder()
@ -1189,8 +1189,8 @@ public class MinecraftReflection {
.parameterExactType(int.class, 4)
.build();
return setMinecraftClass("ChunkPosition",
FuzzyReflection.fromClass(normalChunkGenerator).getMethod(selected).getReturnType());
return setMinecraftClass("ChunkPosition", FuzzyReflection.fromClass(normalChunkGenerator).getMethod(selected).getReturnType()); */
return null;
}
}