Reduce random chunk loads

This commit is contained in:
Sn0wStorm
2019-08-15 17:44:26 +02:00
parent ad58d7b609
commit e123f32728
3 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -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();