diff --git a/sqlupdates/2_0_0_TO_DEV.sql b/sqlupdates/2_0_0_TO_DEV.sql index 858776c5..363a6993 100644 --- a/sqlupdates/2_0_0_TO_DEV.sql +++ b/sqlupdates/2_0_0_TO_DEV.sql @@ -67,5 +67,8 @@ ALTER TABLE `users_settings` ADD COLUMN `forums_post_count` int(11) NULL DEFAULT INSERT INTO `emulator_settings`(`key`, `value`) VALUES ('catalog.guild.hc_required', '1'); INSERT INTO `emulator_settings`(`key`, `value`) VALUES ('catalog.ltd.random', '1'); +UPDATE `emulator_settings` SET `value` = '0' WHERE `key` = 'hotel.banzai.points.tile.steal'; +UPDATE `emulator_settings` SET `value` = '0' WHERE `key` = 'hotel.banzai.points.tile.fill'; +UPDATE `emulator_settings` SET `value` = '1' WHERE `key` = 'hotel.banzai.points.tile.lock'; #END DATABASE UPDATE: 2.0.0 -> DEV \ No newline at end of file diff --git a/src/main/java/com/eu/habbo/habbohotel/games/battlebanzai/BattleBanzaiGame.java b/src/main/java/com/eu/habbo/habbohotel/games/battlebanzai/BattleBanzaiGame.java index 3fbb2a99..f4bafa2d 100644 --- a/src/main/java/com/eu/habbo/habbohotel/games/battlebanzai/BattleBanzaiGame.java +++ b/src/main/java/com/eu/habbo/habbohotel/games/battlebanzai/BattleBanzaiGame.java @@ -29,13 +29,13 @@ public class BattleBanzaiGame extends Game public static final int effectId = 33; - public static final int POINTS_HIJACK_TILE = Emulator.getConfig().getInt("hotel.banzai.points.tile.steal"); + public static final int POINTS_HIJACK_TILE = Emulator.getConfig().getInt("hotel.banzai.points.tile.steal", 0); - public static final int POINTS_FILL_TILE = Emulator.getConfig().getInt("hotel.banzai.points.tile.fill"); + public static final int POINTS_FILL_TILE = Emulator.getConfig().getInt("hotel.banzai.points.tile.fill", 0); - public static final int POINTS_LOCK_TILE = Emulator.getConfig().getInt("hotel.banzai.points.tile.lock"); + public static final int POINTS_LOCK_TILE = Emulator.getConfig().getInt("hotel.banzai.points.tile.lock", 1); private int tileCount;