Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/IO-of-Harmony' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Dream-Master committed Dec 27, 2024
2 parents a057182 + 5b72bdb commit 5459515
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/appeng/tile/storage/TileIOPort.java
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ public IInventory getInventoryByName(final String name) {

@Override
public void updateSetting(final IConfigManager manager, final Enum settingName, final Enum newValue) {
for (int x = 0; x < 6; x++) {
moveQueue[x] = 0;
}
this.updateTask();
}

Expand Down Expand Up @@ -326,7 +329,7 @@ public TickRateModulation tickingRequest(final IGridNode node, final int ticksSi
for (int x = 0; x < 6; x++) {
final ItemStack is = this.cells.getStackInSlot(x);
if (is != null) {
if (moveQueue[x] == 1) {
if ((FullnessMode) this.manager.getSetting(Settings.FULLNESS_MODE) != FullnessMode.HALF && moveQueue[x] == 1) {
moveQueue[x] = !this.moveSlot(x) ? 1 : 0;
} else {
if (ItemsToMove > 0) {
Expand Down

0 comments on commit 5459515

Please sign in to comment.