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
|
fabric_version=0.100.4+1.21
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version=3.0.6
|
mod_version=3.0.7
|
||||||
maven_group=systems.brn
|
maven_group=systems.brn
|
||||||
archives_base_name=Server_storage
|
archives_base_name=Server_storage
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ public class SettingsScreen extends PagedGui {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected int getPageAmount() {
|
protected int getPageAmount() {
|
||||||
return Math.ceilDivExact(settingsList.size(), 9 * 6);
|
return Math.ceilDivExact(settingsList.size(), 9 * 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -61,7 +61,7 @@ public class StorageScreen extends PagedGui {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected int getPageAmount() {
|
protected int getPageAmount() {
|
||||||
return Math.ceilDivExact(blockEntity.network.filteredItemStackMap.size(), 9 * 6);
|
return Math.ceilDivExact(blockEntity.network.filteredItemStackMap.size(), 9 * 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user