mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 05:55:27 +01:00
fix #337
This commit is contained in:
parent
75f6b2aabd
commit
f3a9346dba
@ -1458,7 +1458,7 @@ public class JobsPaymentListener implements Listener {
|
||||
"[current]", jPlayer.getFurnaceCount(),
|
||||
"[max]", jPlayer.getMaxFurnacesAllowed() == 0 ? "-" : jPlayer.getMaxFurnacesAllowed()));
|
||||
}
|
||||
} else if (CMIMaterial.get(block).equals(CMIMaterial.BREWING_STAND)) {
|
||||
} else if (CMIMaterial.get(block).equals(CMIMaterial.BREWING_STAND) || CMIMaterial.get(block).equals(CMIMaterial.LEGACY_BREWING_STAND)) {
|
||||
if (!Jobs.getGCManager().isBrewingStandsReassign())
|
||||
return;
|
||||
|
||||
|
@ -289,7 +289,7 @@ public class FurnaceBrewingHandling {
|
||||
|
||||
public static ownershipFeedback registerBrewingStand(Player player, Block block) {
|
||||
|
||||
if (!CMIMaterial.get(block).equals(CMIMaterial.BREWING_STAND))
|
||||
if (!CMIMaterial.get(block).equals(CMIMaterial.BREWING_STAND) && !CMIMaterial.get(block).equals(CMIMaterial.LEGACY_BREWING_STAND))
|
||||
return ownershipFeedback.invalid;
|
||||
|
||||
JobsPlayer jPlayer = Jobs.getPlayerManager().getJobsPlayer(player);
|
||||
|
Loading…
Reference in New Issue
Block a user