mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
bandaid fix fletching (#5)
This commit is contained in:
committed by
Daniel Ginovker
parent
15278364a6
commit
61a0fc7f2b
@@ -41,11 +41,12 @@ public class LogCutting {
|
||||
c.playerIsFletching = true;
|
||||
c.startAnimation(1248);
|
||||
c.getActionSender().sendSound(CUT_SOUND, 100, 0);
|
||||
|
||||
CycleEventHandler.getSingleton().addEvent(c, new CycleEvent() {
|
||||
|
||||
@Override
|
||||
public void execute(CycleEventContainer container) {
|
||||
if (c.getItemAssistant().playerHasItem(KNIFE)) {
|
||||
if (c.getItemAssistant().playerHasItem(LogCuttingInterface.log) && c.getItemAssistant().playerHasItem(KNIFE)) {
|
||||
c.getItemAssistant().deleteItem2(LogCuttingInterface.log, 1);
|
||||
if (product == 52) {
|
||||
c.getItemAssistant().addItem(product, 15);
|
||||
|
||||
Reference in New Issue
Block a user