IBlockAccess has meaning.

This commit is contained in:
asofold 2012-12-07 01:18:01 +01:00
parent ff94745999
commit 898a9a5212
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ public class BlockCacheCB2511 extends BlockCache implements IBlockAccess{
// TODO: change api for this / use nodes (!)
final int id = getTypeId(x, y, z);
final net.minecraft.server.Block block = net.minecraft.server.Block.byId[id];
block.updateShape(world, x, y, z); // TODO: use THIS instead of world.
block.updateShape(this, x, y, z); // TODO: use THIS instead of world.
// minX, minY, minZ, maxX, maxY, maxZ
return new double[]{block.v(), block.x(), block.z(), block.w(), block.y(), block.A()};

View File

@ -49,7 +49,7 @@ public class BlockCacheCB2512 extends BlockCache implements IBlockAccess{ // TOD
// TODO: change api for this / use nodes (!)
final int id = getTypeId(x, y, z);
final net.minecraft.server.v1_4_5.Block block = net.minecraft.server.v1_4_5.Block.byId[id];
block.updateShape(world, x, y, z); // TODO: use THIS instead of world.
block.updateShape(this, x, y, z); // TODO: use THIS instead of world.
// minX, minY, minZ, maxX, maxY, maxZ
return new double[]{block.v(), block.x(), block.z(), block.w(), block.y(), block.A()};