Skip to content

Commit 781f89c

Browse files
committed
fix disableDisplay bug
1 parent 44c4ef7 commit 781f89c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/maxgamer/quickshop/shop/ShopLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ static public class ShopRawDatabaseInfo {
406406
extra = "";
407407
}
408408
this.currency = rs.getString("currency");
409-
this.disableDisplay = rs.getInt("disableDisplay") == 1;
409+
this.disableDisplay = rs.getInt("disableDisplay") != 0;
410410
this.taxAccount = rs.getString("taxAccount");
411411
}
412412

0 commit comments

Comments
 (0)