From fd1178a3d01ff9627c06853abcb862296ad39c57 Mon Sep 17 00:00:00 2001 From: wizjany Date: Mon, 10 Jun 2019 20:12:19 -0400 Subject: [PATCH] Fix item interact event. --- .../main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java index 672eed9fe..d875d4938 100644 --- a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java +++ b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java @@ -206,7 +206,7 @@ public class SpongeWorldEdit { } @Listener - public void onPlayerItemInteract(InteractItemEvent event, @Root Player spongePlayer) { + public void onPlayerItemInteract(InteractItemEvent.Secondary event, @Root Player spongePlayer) { if (platform == null) { return; }