Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package net.nukacraft.src;
- import net.minecraft.entity.player.EntityPlayer;
- import net.minecraft.item.ItemStack;
- public class ActionWeapons2 {
- public static void onButton_left(EntityPlayer player) {
- ItemStack current = player.getCurrentEquippedItem();
- if (current != null && current.getItem() instanceof Gun)
- ((Gun)current.getItem()).Button_left(current, player.worldObj, player);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment