Fix config changes etc.
This commit is contained in:
parent
83190fc39f
commit
2209177e1a
12 changed files with 27 additions and 62 deletions
|
@ -1,7 +1,5 @@
|
|||
package techreborn.events;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
@ -12,6 +10,8 @@ import net.minecraftforge.oredict.OreDictionary;
|
|||
import reborncore.common.util.ItemUtils;
|
||||
import techreborn.config.ConfigTechReborn;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
public class OreUnifier
|
||||
{
|
||||
|
||||
|
@ -36,7 +36,7 @@ public class OreUnifier
|
|||
@SubscribeEvent
|
||||
public void itemTick(TickEvent.PlayerTickEvent event)
|
||||
{
|
||||
if (ConfigTechReborn.oreUnifer && !event.player.worldObj.isRemote
|
||||
if (ConfigTechReborn.OreUnifer && !event.player.worldObj.isRemote
|
||||
&& event.player.worldObj.getTotalWorldTime() % 10 == 0)
|
||||
{
|
||||
if (event.player.getHeldItem(EnumHand.MAIN_HAND) != null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue