mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +00:00
Fix server crash when woodcutting with pickaxe
This commit is contained in:
@@ -1 +1,2 @@
|
||||
[2019/10/04] 10:46 irdb sold thread to store id: 24 for 2 coins
|
||||
[2019/10/04] 10:47 irdb sold bronze dagger to store id: 88 for 8 coins
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -70,7 +70,11 @@ public class Woodcutting {
|
||||
@Override
|
||||
public void execute(CycleEventContainer container) {
|
||||
if (player.isWoodcutting) {
|
||||
player.startAnimation(Axe_Settings[a][3]);
|
||||
try {
|
||||
player.startAnimation(Axe_Settings[a][3]);
|
||||
} catch (ArrayIndexOutOfBoundsException exception) {
|
||||
System.out.println("LOL this happend again: " + exception);
|
||||
}
|
||||
player.getActionSender().sendSound(SoundList.TREE_CUTTING, 100, 0);
|
||||
} else {
|
||||
container.stop();
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user