Chunk Bug Fixes
Added chunk.setChunkModified() to other classes that were missing it. We have several copies of setBlockDirectly() spread around that needed updating. Also made pockets use FoR instead of glowstone. =P
This commit is contained in:
@@ -230,5 +230,6 @@ public class MazeBuilder
|
||||
}
|
||||
extBlockStorage.setExtBlockID(localX, y & 15, localZ, blockID);
|
||||
extBlockStorage.setExtBlockMetadata(localX, y & 15, localZ, metadata);
|
||||
chunk.setChunkModified();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -427,6 +427,7 @@ public class Schematic {
|
||||
}
|
||||
extBlockStorage.setExtBlockID(localX, y & 15, localZ, blockID);
|
||||
extBlockStorage.setExtBlockMetadata(localX, y & 15, localZ, metadata);
|
||||
chunk.setChunkModified();
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
|
||||
@@ -475,7 +475,7 @@ public class PocketBuilder
|
||||
//Build the (wallThickness - 1) layers of Fabric of Reality
|
||||
for (int layer = 1; layer < wallThickness; layer++)
|
||||
{
|
||||
buildBox(world, center.getX(), center.getY(), center.getZ(), (size / 2) - layer, Block.glowStone.blockID,
|
||||
buildBox(world, center.getX(), center.getY(), center.getZ(), (size / 2) - layer, properties.FabricBlockID,
|
||||
layer < (wallThickness - 1) && properties.TNFREAKINGT_Enabled, properties.NonTntWeight);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user