From f430bcfd30fe7fa977cb96b2eba280f71800e5bd Mon Sep 17 00:00:00 2001 From: Zrips Date: Mon, 10 Jun 2024 17:01:02 +0300 Subject: [PATCH] Brewing stand owner ship enabled state check fix --- .../com/gamingmesh/jobs/listeners/JobsPaymentListener.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java b/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java index e24aa84b..bd304087 100644 --- a/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java +++ b/src/main/java/com/gamingmesh/jobs/listeners/JobsPaymentListener.java @@ -381,6 +381,9 @@ public final class JobsPaymentListener implements Listener { return; } + if (ownerShip.isDisabled(uuid, block.getLocation())) + return; + // only care about first if (uuid == null && !data.isEmpty()) { MetadataValue value = data.get(0);