mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-14 09:13:51 +01:00
I have so much to show you
- Prevent basins from endlessly queueing up particle information when no players are near #6837
This commit is contained in:
parent
8e50ad4cfd
commit
034babf125
1 changed files with 4 additions and 2 deletions
|
@ -412,6 +412,7 @@ public class BasinBlockEntity extends SmartBlockEntity implements IHaveGoggleInf
|
|||
if (filter != null && !filter.test(itemStack))
|
||||
continue;
|
||||
|
||||
if (visualizedOutputItems.size() < 3)
|
||||
visualizedOutputItems.add(IntAttached.withZero(itemStack));
|
||||
update = true;
|
||||
|
||||
|
@ -446,6 +447,7 @@ public class BasinBlockEntity extends SmartBlockEntity implements IHaveGoggleInf
|
|||
|
||||
update = true;
|
||||
iterator.remove();
|
||||
if (visualizedOutputFluids.size() < 3)
|
||||
visualizedOutputFluids.add(IntAttached.withZero(fluidStack));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue