Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void action() {
- InvItem random = new InvItem(DataConversions.random(77, 85));
- if(DataConversions.random(0, 1) == 1) {
- owner.getActionSender().sendMessage("You got a" + random.getDef().getName() + "!");
- owner.getInventory().add(random);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement