diff --git a/gradle.properties b/gradle.properties index 691bd67..f6dc480 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ minecraft_version=1.21.1 yarn_mappings=1.21.1+build.3 loader_version=0.16.2 # Mod Properties -mod_version=1.4.1 +mod_version=1.4.2 maven_group=systems.brn archives_base_name=servershop # Dependencies diff --git a/src/main/java/systems/brn/servershop/screens/AuctionBrowserScreen.java b/src/main/java/systems/brn/servershop/screens/AuctionBrowserScreen.java index 9e590ed..891c2c3 100644 --- a/src/main/java/systems/brn/servershop/screens/AuctionBrowserScreen.java +++ b/src/main/java/systems/brn/servershop/screens/AuctionBrowserScreen.java @@ -46,6 +46,7 @@ public class AuctionBrowserScreen extends PagedGui implements SearchableInterfac public void doSearch(String query) { searchQuery = query; + page = 0; updateDisplay(); } diff --git a/src/main/java/systems/brn/servershop/screens/BalanceScreen.java b/src/main/java/systems/brn/servershop/screens/BalanceScreen.java index 07a5b06..edd7766 100644 --- a/src/main/java/systems/brn/servershop/screens/BalanceScreen.java +++ b/src/main/java/systems/brn/servershop/screens/BalanceScreen.java @@ -50,6 +50,7 @@ public class BalanceScreen extends PagedGui implements SearchableInterface { public void doSearch(String query) { searchQuery = query; + page = 0; updateDisplay(); } diff --git a/src/main/java/systems/brn/servershop/screens/ShopEditorScreen.java b/src/main/java/systems/brn/servershop/screens/ShopEditorScreen.java index 10ce89b..60cab64 100644 --- a/src/main/java/systems/brn/servershop/screens/ShopEditorScreen.java +++ b/src/main/java/systems/brn/servershop/screens/ShopEditorScreen.java @@ -59,6 +59,7 @@ public class ShopEditorScreen extends PagedGui implements SearchableInterface { public void doSearch(String query) { searchQuery = query; + page = 0; updateDisplay(); } diff --git a/src/main/java/systems/brn/servershop/screens/ShopScreen.java b/src/main/java/systems/brn/servershop/screens/ShopScreen.java index 84a4124..0413987 100644 --- a/src/main/java/systems/brn/servershop/screens/ShopScreen.java +++ b/src/main/java/systems/brn/servershop/screens/ShopScreen.java @@ -48,6 +48,7 @@ public class ShopScreen extends PagedGui implements SearchableInterface { public void doSearch(String query) { searchQuery = query; + page = 0; updateDisplay(); }