Transmutation bug involving metadata fixed
This commit is contained in:
parent
2b7bae8d8e
commit
a40b1a208f
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) {
|
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) {
|
if (Block.blocksList[targetID] != null) {
|
||||||
world.setBlockMetadataWithNotify(x, y, z, targetID, targetMeta);
|
world.setBlock(x, y, z, targetID, targetMeta, 2);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue