mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-20 21:40:27 -07:00
Fixed an exception thrown by the equipment interface
This commit is contained in:
parent
16353eda20
commit
7cded916c6
1 changed files with 1 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ public final class EquipmentInterface extends ComponentPlugin {
|
||||||
GameWorld.getPulser().submit(new Pulse(1, p) {
|
GameWorld.getPulser().submit(new Pulse(1, p) {
|
||||||
@Override
|
@Override
|
||||||
public boolean pulse() {
|
public boolean pulse() {
|
||||||
|
if (item == null) return true;
|
||||||
InteractionListeners.run(item.getId(),0,"equip",p, item);
|
InteractionListeners.run(item.getId(),0,"equip",p, item);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue