Fix pagination
This commit is contained in:
parent
9470264d5e
commit
773cb102e3
@ -11,7 +11,7 @@ loader_version=0.15.11
|
||||
fabric_version=0.100.4+1.21
|
||||
|
||||
# Mod Properties
|
||||
mod_version=3.0.6
|
||||
mod_version=3.0.7
|
||||
maven_group=systems.brn
|
||||
archives_base_name=Server_storage
|
||||
|
||||
|
@ -62,7 +62,7 @@ public class SettingsScreen extends PagedGui {
|
||||
|
||||
@Override
|
||||
protected int getPageAmount() {
|
||||
return Math.ceilDivExact(settingsList.size(), 9 * 6);
|
||||
return Math.ceilDivExact(settingsList.size(), 9 * 5);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -61,7 +61,7 @@ public class StorageScreen extends PagedGui {
|
||||
|
||||
@Override
|
||||
protected int getPageAmount() {
|
||||
return Math.ceilDivExact(blockEntity.network.filteredItemStackMap.size(), 9 * 6);
|
||||
return Math.ceilDivExact(blockEntity.network.filteredItemStackMap.size(), 9 * 5);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user