Merge pull request #288 from DarkTrollRises/master

Transformation bug involving metadata
This commit is contained in:
pahimar 2013-04-02 12:56:28 -07:00
commit 9ab2420425

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;
}