Fix NPC 9000011 (#395)

This commit is contained in:
MedicOP
2019-02-05 22:26:37 +01:00
committed by Ronan Lana
parent c7e36e18af
commit 9bd7548df8

View File

@@ -46,7 +46,7 @@ function action(mode, type, selection) {
var dat = parseInt(marr.getCustomData());
if (dat + 3600000 >= cm.getCurrentTime()) {
cm.sendNext("You've entered the event already in the past hour.");
} else if (!cm.canHold()) {
} else if (!cm.canHold(4031019)) {
cm.sendNext("Save up some space in your inventory.");
} else if (cm.getChannelServer().getEvent() > -1 && !cm.haveItem(4031019)) {
cm.getPlayer().saveLocation("EVENT");