mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
Fixed firemaking log duplication & deletion (#456)
This commit is contained in:
+4
@@ -77,6 +77,7 @@ public class Firemaking {
|
||||
} else {
|
||||
if (groundObject == false) {
|
||||
c.getItemAssistant().deleteItem(logId, c.getItemAssistant().getItemSlot(logId), 1);
|
||||
GameEngine.itemHandler.createGroundItem(c, logId, c.absX, c.absY, 1, c.playerId);
|
||||
}
|
||||
}
|
||||
final boolean walk;
|
||||
@@ -131,6 +132,9 @@ public class Firemaking {
|
||||
}, 2);
|
||||
container.stop();
|
||||
} else {
|
||||
c.isFiremaking = false;
|
||||
stopFiremaking(c);
|
||||
container.stop();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user