Archiviert
13
0

Don't do physics updates in world generation. Fixes BUKKIT-3747

Dieser Commit ist enthalten in:
Travis Watkins 2013-04-16 07:09:32 -05:00
Ursprung 40e6308718
Commit 708b0e6ae1

Datei anzeigen

@ -30,7 +30,13 @@ public abstract class WorldGenerator {
if (this.a) {
world.setTypeIdAndData(i, j, k, l, i1);
} else {
world.setTypeIdAndData(i, j, k, l, i1);
// CraftBukkit start - Layering violation :(
if (world instanceof World) {
((World) world).setTypeIdAndData(i, j, k, l, i1, 2);
} else {
world.setRawTypeIdAndData(i, j, k, l, i1);
}
// CraftBukkit end
}
}
}