From e24d36bc8251cebc2b56912042bf29da9e788be2 Mon Sep 17 00:00:00 2001 From: Intelli Date: Mon, 12 Oct 2026 15:54:28 -0600 Subject: [PATCH] Restore legacy interaction queue overload for addon compatibility --- src/main/java/net/coreprotect/consumer/Queue.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/net/coreprotect/consumer/Queue.java b/src/main/java/net/coreprotect/consumer/Queue.java index 41a59c01..de14af06 100755 --- a/src/main/java/net/coreprotect/consumer/Queue.java +++ b/src/main/java/net/coreprotect/consumer/Queue.java @@ -506,6 +506,10 @@ public class Queue { queueStandardData(new Object[] { null, Process.PLAYER_COMMAND, null, 0, null, 0, 0, null }, new String[] { player.getName(), null }, new Object[] { timestamp, player.getLocation().clone() }, false, Consumer.consumerStrings, message, Consumer.reserveConsumer()); } + protected static void queuePlayerInteraction(String user, BlockState block, Material type) { + queuePlayerInteraction(user, block.getLocation(), type, block.getBlockData().getAsString()); + } + protected static void queuePlayerInteraction(String user, Location location, Material type, String blockData) { queueStandardData(new Object[] { null, Process.PLAYER_INTERACTION, type, 0, null, 0, 0, blockData }, new String[] { user, null }, getBlockLocation(location), false, Consumer.reserveConsumer()); }