From 9372cb34749a14fbc57f3b1ee9e3c5571bf7d399 Mon Sep 17 00:00:00 2001 From: Alex 'mcmonkey' Goodwin Date: Thu, 25 Feb 2021 19:27:28 -0800 Subject: [PATCH] stands on block event: patch wrong location used for in check --- .../denizen/events/player/PlayerStandsOnScriptEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/main/java/com/denizenscript/denizen/events/player/PlayerStandsOnScriptEvent.java b/plugin/src/main/java/com/denizenscript/denizen/events/player/PlayerStandsOnScriptEvent.java index 26bc2035a0..460326ccde 100644 --- a/plugin/src/main/java/com/denizenscript/denizen/events/player/PlayerStandsOnScriptEvent.java +++ b/plugin/src/main/java/com/denizenscript/denizen/events/player/PlayerStandsOnScriptEvent.java @@ -66,7 +66,7 @@ public boolean matches(ScriptPath path) { return false; } - if (!runInCheck(path, event.getPlayer().getLocation())) { + if (!runInCheck(path, location)) { return false; }