From 415fde5ff12db0a3deba735210869b5aeea7b7b2 Mon Sep 17 00:00:00 2001 From: Etil <81570777+etil2jz@users.noreply.github.com> Date: Sat, 29 Jan 2022 20:01:43 +0100 Subject: [PATCH] public->protected --- patches/server/0010-Optimize-TileEntity-load-unload.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/server/0010-Optimize-TileEntity-load-unload.patch b/patches/server/0010-Optimize-TileEntity-load-unload.patch index 0a98e45..84fbd56 100644 --- a/patches/server/0010-Optimize-TileEntity-load-unload.patch +++ b/patches/server/0010-Optimize-TileEntity-load-unload.patch @@ -18,7 +18,7 @@ index 364ecdbe5bbe837b76451bb032fc52f41d8e0dca..96c6ef03a64e425472c64884c91ac495 - private final List pendingBlockEntityTickers = Lists.newArrayList(); + //protected final List blockEntityTickers = Lists.newArrayList(); public final int getTotalTileEntityTickers() { return this.blockEntityTickers.size(); } // Paper + //private final List pendingBlockEntityTickers = Lists.newArrayList(); -+ public final List blockEntityTickers = me.jellysquid.mods.lithium.common.util.collections.HashedList.wrapper(Lists.newArrayList()); public final int getTotalTileEntityTickers() { return this.blockEntityTickers.size(); } // Paper // Yatopia ++ protected final List blockEntityTickers = me.jellysquid.mods.lithium.common.util.collections.HashedList.wrapper(Lists.newArrayList()); public final int getTotalTileEntityTickers() { return this.blockEntityTickers.size(); } // Paper // Yatopia + private final List pendingBlockEntityTickers = me.jellysquid.mods.lithium.common.util.collections.HashedList.wrapper(Lists.newArrayList()); // Yatopia private boolean tickingBlockEntities; public final Thread thread;