mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Updated version to 1.2.5-R0.1-SNAPSHOT
This commit is contained in:
1 parent
e0c01154b0
commit
1fa4d8430e
15 files changed
+100
-166
No files matched your search
@@ -29,9 +29,9 @@ public abstract class WorldGenerator {
|
||||
protected void setTypeAndData(BlockChangeDelegate world, int i, int j, int k, int l, int i1) {
|
||||
if (this.a) {
|
||||
world.setTypeIdAndData(i, j, k, l, i1);
|
||||
} else if (world instanceof World && ((World)world).getChunkAtWorldCoords(i, k).seenByPlayer) { // CraftBukkit - remove in next update
|
||||
} else if (world instanceof World && ((World)world).getChunkAtWorldCoords(i, k).seenByPlayer) { // CraftBukkit
|
||||
if (world.setRawTypeIdAndData(i, j, k, l, i1)) {
|
||||
((World)world).notify(i, j, k);
|
||||
((World)world).notify(i, j, k); // CraftBukkit - casty
|
||||
}
|
||||
} else {
|
||||
world.setRawTypeIdAndData(i, j, k, l, i1);
|
||||
|
||||
Reference in new issue
Block a user