Skip to content

Commit

Permalink
Merge pull request #503 from P3pp3rF1y/1.20.x-dev
Browse files Browse the repository at this point in the history
fix: 🐛 Fixed scrollable inventory to only show slot background for sl…
  • Loading branch information
P3pp3rF1y authored Oct 11, 2024
2 parents 99817b8 + deeed36 commit 3b4ad55
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.daemon=false

mod_id=sophisticatedstorage
mod_group_id=sophisticatedstorage
mod_version=0.10.44
mod_version=0.10.45
sonar_project_key=sophisticatedstorage:SophisticatedStorage
github_package_url=https://maven.pkg.github.com/P3pp3rF1y/SophisticatedStorage

Expand All @@ -30,6 +30,6 @@ jade_cf_file_id=4614153
chipped_cf_file_id=5077656
resourcefullib_cf_file_id=5070629
athena_cf_file_id=4764357
sc_version=[1.20.1-0.6.33,1.20.4)
sc_version=[1.20.1-0.6.34,1.20.4)
sb_version=[1.20.1-3.20.5,1.20.4)
parchment_version=1.19.3-2023.03.12-1.20
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public LimitedBarrelScreen(StorageContainerMenu menu, Inventory playerInventory,
}

@Override
protected void drawSlotBg(GuiGraphics guiGraphics, int x, int y) {
protected void drawSlotBg(GuiGraphics guiGraphics, int x, int y, int visibleSlotsCount) {
LimitedBarrelScreen.drawSlotBg(this, guiGraphics, x, y, getMenu().getNumberOfStorageInventorySlots());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ protected void updateStorageSlotsPositions() {
}

@Override
protected void drawSlotBg(GuiGraphics guiGraphics, int x, int y) {
protected void drawSlotBg(GuiGraphics guiGraphics, int x, int y, int visibleSlotsCount) {
LimitedBarrelScreen.drawSlotBg(this, guiGraphics, x, y, getMenu().getNumberOfStorageInventorySlots());
}

Expand Down

0 comments on commit 3b4ad55

Please sign in to comment.