RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
ItemOnPlayerEvent.java
1package com.osroyale.game.event.impl;
2
3import com.osroyale.game.event.Event;
4import com.osroyale.game.world.entity.mob.player.Player;
5import com.osroyale.game.world.items.Item;
6
31
32public class ItemOnPlayerEvent implements Event {
33
34 private final Player other;
35
36 private final Item used;
37
38 private final int slot;
39
40 public ItemOnPlayerEvent(Player other, Item used, int slot) {
41 this.other = other;
42 this.used = used;
43 this.slot = slot;
44 }
45
46 public Player getOther() {
47 return other;
48 }
49
50 public Item getUsed() {
51 return used;
52 }
53
54 public int getSlot() {
55 return slot;
56 }
57
58}