mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-27 15:23:19 +00:00
fixed hoe, solars. Added new item.
This commit is contained in:
1 parent
5419892c90
commit
96ebbf9d05
68 files changed
+222
-119
No files matched your search
@@ -19,7 +19,9 @@ import net.minecraft.entity.item.EntityItem;
|
||||
import net.minecraft.entity.monster.EntityCreeper;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.event.entity.item.ItemEvent;
|
||||
import net.minecraftforge.event.entity.living.LivingDropsEvent;
|
||||
import net.minecraftforge.event.entity.player.PlayerDestroyItemEvent;
|
||||
import thaumcraft.common.entities.monster.EntityTaintChicken;
|
||||
import tombenpotter.emt.ElectroMagicTools;
|
||||
import tombenpotter.emt.ModInformation;
|
||||
@@ -67,4 +69,9 @@ public class EventHandlerEMT {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
public void breaktool(PlayerDestroyItemEvent event){
|
||||
event.entityPlayer.stopUsingItem();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user