From 663f380e18c74ae48f40031de0d11fcadcb0898c Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 21 Sep 2021 12:55:11 +0200 Subject: [PATCH] Fix RightClick and LeftClick Signed-off-by: yoyosource --- .../bausystem/features/script/CustomScriptListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/script/CustomScriptListener.java b/BauSystem_Main/src/de/steamwar/bausystem/features/script/CustomScriptListener.java index 03f56d65..37f82cde 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/script/CustomScriptListener.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/script/CustomScriptListener.java @@ -372,7 +372,7 @@ public class CustomScriptListener implements Listener { callEvent(EventType.RightClick, event.getPlayer(), event); } if (event.getAction() == Action.LEFT_CLICK_AIR || event.getAction() == Action.LEFT_CLICK_BLOCK) { - callEvent(EventType.RightClick, event.getPlayer(), event); + callEvent(EventType.LeftClick, event.getPlayer(), event); } } }