@@ -378,7 +378,7 @@ public void updateExternalInventoryProfileCache(@NotNull Shop shop, int space, i
378378 @ Override
379379 public void updateShop (@ NotNull String owner , @ NotNull ItemStack item , int unlimited , int shopType ,
380380 double price , int x , int y , int z , @ NotNull String world , @ NotNull String extra ,
381- @ NotNull String currency , boolean disableDisplay , @ Nullable String taxAccount ) {
381+ @ Nullable String currency , boolean disableDisplay , @ Nullable String taxAccount ) {
382382 String sqlString = "UPDATE " + plugin
383383 .getDbPrefix () + "shops SET owner = ?, itemConfig = ?, unlimited = ?, type = ?, price = ?," +
384384 " extra = ?, currency = ?, disableDisplay = ?, taxAccount = ?" +
@@ -391,7 +391,7 @@ public void updateShop(@NotNull String owner, @NotNull ItemStack item, int unlim
391391 ps .setDouble (5 , price );
392392 ps .setString (6 , extra );
393393 ps .setString (7 , currency );
394- ps .setInt (8 , ((! disableDisplay ) ? 0 : 1 ) );
394+ ps .setInt (8 , disableDisplay ? 1 : 0 );
395395 ps .setString (9 , taxAccount );
396396 ps .setInt (10 , x );
397397 ps .setInt (11 , y );
0 commit comments