From 898a9a52127b0affb0d2d268402512ddb8bf1ee5 Mon Sep 17 00:00:00 2001 From: asofold Date: Fri, 7 Dec 2012 01:18:01 +0100 Subject: [PATCH] IBlockAccess has meaning. --- .../neatmonster/nocheatplus/compat/cb2511/BlockCacheCB2511.java | 2 +- .../neatmonster/nocheatplus/compat/cb2512/BlockCacheCB2512.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fr/neatmonster/nocheatplus/compat/cb2511/BlockCacheCB2511.java b/src/fr/neatmonster/nocheatplus/compat/cb2511/BlockCacheCB2511.java index f453682c..aa3e8a28 100644 --- a/src/fr/neatmonster/nocheatplus/compat/cb2511/BlockCacheCB2511.java +++ b/src/fr/neatmonster/nocheatplus/compat/cb2511/BlockCacheCB2511.java @@ -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()}; diff --git a/src/fr/neatmonster/nocheatplus/compat/cb2512/BlockCacheCB2512.java b/src/fr/neatmonster/nocheatplus/compat/cb2512/BlockCacheCB2512.java index 19e59af2..0d0935a4 100644 --- a/src/fr/neatmonster/nocheatplus/compat/cb2512/BlockCacheCB2512.java +++ b/src/fr/neatmonster/nocheatplus/compat/cb2512/BlockCacheCB2512.java @@ -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()};