1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-30 21:07:48 +01:00

Brewing stand owner ship enabled state check fix

This commit is contained in:
Zrips 2024-06-10 17:01:02 +03:00
parent d0c36fc246
commit f430bcfd30

View File

@ -381,6 +381,9 @@ public final class JobsPaymentListener implements Listener {
return; return;
} }
if (ownerShip.isDisabled(uuid, block.getLocation()))
return;
// only care about first // only care about first
if (uuid == null && !data.isEmpty()) { if (uuid == null && !data.isEmpty()) {
MetadataValue value = data.get(0); MetadataValue value = data.get(0);