Restore legacy interaction queue overload for addon compatibility

This commit is contained in:
Intelli committed 2026-10-12 15:54:28 -06:00
1 parent 616ed04ca7
commit e24d36bc82
1 file changed
+4
@@ -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());
}