mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-13 22:43: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,7 +412,8 @@ public class BasinBlockEntity extends SmartBlockEntity implements IHaveGoggleInf
|
||||||
if (filter != null && !filter.test(itemStack))
|
if (filter != null && !filter.test(itemStack))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
visualizedOutputItems.add(IntAttached.withZero(itemStack));
|
if (visualizedOutputItems.size() < 3)
|
||||||
|
visualizedOutputItems.add(IntAttached.withZero(itemStack));
|
||||||
update = true;
|
update = true;
|
||||||
|
|
||||||
remainder = ItemHandlerHelper.insertItemStacked(targetInv, itemStack.copy(), false);
|
remainder = ItemHandlerHelper.insertItemStacked(targetInv, itemStack.copy(), false);
|
||||||
|
@ -446,7 +447,8 @@ public class BasinBlockEntity extends SmartBlockEntity implements IHaveGoggleInf
|
||||||
|
|
||||||
update = true;
|
update = true;
|
||||||
iterator.remove();
|
iterator.remove();
|
||||||
visualizedOutputFluids.add(IntAttached.withZero(fluidStack));
|
if (visualizedOutputFluids.size() < 3)
|
||||||
|
visualizedOutputFluids.add(IntAttached.withZero(fluidStack));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue