Fix Scissors of Karma can only be used once (#307)
This commit is contained in:
@@ -470,13 +470,7 @@ public final class UseCashItemHandler extends AbstractMaplePacketHandler {
|
||||
c.announce(MaplePacketCreator.enableActions());
|
||||
return;
|
||||
}
|
||||
|
||||
if(MapleKarmaManipulator.hasUsedKarmaFlag(item)) {
|
||||
player.dropMessage(6, "Scissors of Karma was already used on this item.");
|
||||
c.announce(MaplePacketCreator.enableActions());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
MapleKarmaManipulator.setKarmaFlag(item);
|
||||
player.forceUpdateItem(item);
|
||||
remove(c, itemId);
|
||||
|
||||
Reference in New Issue
Block a user