mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-07 08:39:07 +00:00
Issue 15 (#18)
* Revised shop re-stocking interval. * Revised shop re-stocking interval. * Updated character save directory. * Renamed new player save directory from accounts to characters. * Added inverse for random toggle, since it's the first thing I type every time. * Added god capes. * Re-implemented experiments. * Yell now looks a little cleaner. * Fixed outside of bounds exception on High scores, when player count doesn't meet threshold. * Cleaned up Magic Teleports class and added level requirements. * Fixed exit portal from ancient chamber. * Added check to ensure axe id isn't outside the bounds of expected axes. * Added yet another check to ensure that the player has the required item before chopping a tree. NOTE this fix may not work as the issue is not reproducible locally. * Added yet another check to ensure that the player has the required item before chopping a tree. NOTE this fix may not work as the issue is not reproducible locally.
This commit is contained in:
committed by
Daniel Ginovker
parent
655d4f5857
commit
ddec3a1204
@@ -246,6 +246,11 @@ public class Woodcutting {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void execute(CycleEventContainer container) {
|
public void execute(CycleEventContainer container) {
|
||||||
|
if (a <= -1)
|
||||||
|
{
|
||||||
|
container.stop();
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (!player.isWoodcutting) {
|
if (!player.isWoodcutting) {
|
||||||
container.stop();
|
container.stop();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user