aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-07-28 00:05:19 +0900
committersyeyoung <cyong06@naver.com>2021-07-28 00:05:19 +0900
commitb95c84eece5cfbb1dd25a7e5d4b022863f643044 (patch)
treee83ac49f81fc0846dfe667ff1ee5a7cdfdc2d9ca /src/main/java/kr/syeyoung
parent0de8a42a2eade5e527b957263f25e3e906e6df8a (diff)
downloadSkyblock-Dungeons-Guide-b95c84eece5cfbb1dd25a7e5d4b022863f643044.tar.gz
Skyblock-Dungeons-Guide-b95c84eece5cfbb1dd25a7e5d4b022863f643044.tar.bz2
Skyblock-Dungeons-Guide-b95c84eece5cfbb1dd25a7e5d4b022863f643044.zip
Fix NPE in Simon Says
Diffstat (limited to 'src/main/java/kr/syeyoung')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/features/impl/boss/terminal/FeatureSimonSaysSolver.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/boss/terminal/FeatureSimonSaysSolver.java b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/boss/terminal/FeatureSimonSaysSolver.java
index 3ef1a530..ba0322f6 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/boss/terminal/FeatureSimonSaysSolver.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/boss/terminal/FeatureSimonSaysSolver.java
@@ -103,6 +103,7 @@ public class FeatureSimonSaysSolver extends SimpleFeature implements WorldRender
DungeonContext dc = ss.getContext();
if (dc == null) return;
if (!(dc.getBossfightProcessor() instanceof BossfightProcessorNecron)) return;
+ if (event.action != PlayerInteractEvent.Action.RIGHT_CLICK_BLOCK) return;
World w = dc.getWorld();
BlockPos pos = event.pos.add(1,0,0);