From 30d2b412640c8abf54cb2e7d6ba632bdaa0e1560 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Mon, 24 Dec 2012 03:31:32 +0100 Subject: [PATCH] Fix for blocks getting replaced --- classes/API/BlockAPI.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/API/BlockAPI.php b/classes/API/BlockAPI.php index d27dc2e4..a0a37073 100644 --- a/classes/API/BlockAPI.php +++ b/classes/API/BlockAPI.php @@ -59,7 +59,7 @@ class BlockAPI{ return; } - if(!isset(Material::$replaceable[$target[0]])){ + //if(!isset(Material::$replaceable[$target[0]])){ switch($data["face"]){ case 0: --$data["y"]; @@ -80,7 +80,7 @@ class BlockAPI{ ++$data["x"]; break; } - } + //} if($data["y"] >= 127){ return; }