mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Merge pull request #2305 from LinoxGH/patch-3
Edited markDirty() to clean connectorCache
This commit is contained in:
commit
00e71904b2
@ -325,6 +325,12 @@ abstract class ChestTerminalNetwork extends Network {
|
||||
return System.nanoTime() - timestamp;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void markDirty(@Nonnull Location l) {
|
||||
connectorCache.remove(l);
|
||||
super.markDirty(l);
|
||||
}
|
||||
|
||||
private void updateTerminal(Location l, BlockMenu terminal, int slot, int index, List<ItemStackAndInteger> items) {
|
||||
if (items.size() > index) {
|
||||
|
Loading…
Reference in New Issue
Block a user