From 8e4e80f22cb40ef6a6cfc5f5c766b23ce53b06b8 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 17 Nov 2017 10:58:22 +0000 Subject: [PATCH] Fix Switch parkour --- .../arcade/game/games/christmasnew/ChristmasNew.java | 2 +- .../christmasnew/section/five/SwitchParkour.java | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/christmasnew/ChristmasNew.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/christmasnew/ChristmasNew.java index d1b5c1c3f..ed2202b82 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/christmasnew/ChristmasNew.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/christmasnew/ChristmasNew.java @@ -70,7 +70,7 @@ public class ChristmasNew extends ChristmasCommon _sections.add(new Section3(this, targets.remove(0), presents.remove(0))); _sections.add(new Section4(this, targets.remove(0), presents.remove(0), presents.remove(0))); _sections.add(new Section5(this, targets.remove(0), presents.remove(0), presents.remove(0))); - _sections.add(new Section6(this, targets.remove(0), presents.remove(0))); + //_sections.add(new Section6(this, targets.remove(0), presents.remove(0))); } @EventHandler diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/christmasnew/section/five/SwitchParkour.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/christmasnew/section/five/SwitchParkour.java index 832c5fd2a..a0f372675 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/christmasnew/section/five/SwitchParkour.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/christmasnew/section/five/SwitchParkour.java @@ -67,7 +67,7 @@ class SwitchParkour extends SectionChallenge { _checkpointHologram.start(); _enabled = true; - }, 600); + }, 400); } @Override @@ -82,12 +82,12 @@ class SwitchParkour extends SectionChallenge @EventHandler public void updateSolids(UpdateEvent event) { - if (!_enabled) + if (!_enabled || event.getType() != UpdateType.SLOW) { return; } - if (_removeTick && event.getType() == UpdateType.SLOW) + if (_removeTick) { if (_blackSolid) { @@ -100,7 +100,7 @@ class SwitchParkour extends SectionChallenge _removeTick = !_removeTick; } - else if (event.getType() == UpdateType.TWOSEC) + else { if (_blackSolid) { @@ -112,8 +112,9 @@ class SwitchParkour extends SectionChallenge } _blackSolid = !_blackSolid; - _removeTick = !_removeTick; } + + _removeTick = !_removeTick; } @EventHandler