Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
Sea-Kerman committed Nov 5, 2023
1 parent 5e46d9a commit bda3c2c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/main/java/appeng/blockentity/misc/InscriberBlockEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -459,17 +459,15 @@ private void onConfigChanged(IConfigManager manager, Setting<?> setting) {
markForUpdate();
}

if (setting == Settings.INSCRIBER_BUFFER_SIZE)
{
if (setting == Settings.INSCRIBER_BUFFER_SIZE) {
if (configManager.getSetting(Settings.INSCRIBER_BUFFER_SIZE) == YesNo.YES) {
topItemHandler.setMaxStackSize(0, 64);
sideItemHandler.setMaxStackSize(0, 64);
bottomItemHandler.setMaxStackSize(0, 64);
}
else {
} else {
topItemHandler.setMaxStackSize(0, 4);
sideItemHandler.setMaxStackSize(0,4);
bottomItemHandler.setMaxStackSize(0,4);
sideItemHandler.setMaxStackSize(0, 4);
bottomItemHandler.setMaxStackSize(0, 4);
}
}

Expand Down

0 comments on commit bda3c2c

Please sign in to comment.