Merge pull request #288 from DarkTrollRises/master
Transformation bug involving metadata
This commit is contained in:
commit
9ab2420425
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue