Transmutation bug involving metadata fixed

This commit is contained in:
DarkTrollRises 2013-03-31 09:48:55 +02:00
parent 2b7bae8d8e
commit a40b1a208f

View file

@ -28,7 +28,7 @@ public class TransmutationHelper {
public static boolean transmuteInWorld(World world, EntityPlayer player, ItemStack stack, int x, int y, int z, int targetID, int targetMeta) {
if (Block.blocksList[targetID] != null) {
world.setBlockMetadataWithNotify(x, y, z, targetID, targetMeta);
world.setBlock(x, y, z, targetID, targetMeta, 2);
return true;
}