mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 07:49:03 +00:00
Reduce random chunk loads
This commit is contained in:
@@ -691,7 +691,7 @@ public class Barrel implements InventoryHolder {
|
||||
// the barrel needs to be formed correctly
|
||||
// flag force to also check if chunk is not loaded
|
||||
public Block getBrokenBlock(boolean force) {
|
||||
if (force || spigot.getChunk().isLoaded()) {
|
||||
if (force || Util.isChunkLoaded(spigot)) {
|
||||
spigot = getSpigotOfSign(spigot);
|
||||
if (LegacyUtil.isSign(spigot.getType())) {
|
||||
return checkSBarrel();
|
||||
|
||||
Reference in New Issue
Block a user