Explorar o código

Fix for manor SQL files (tnx gigikun)

DrLecter %!s(int64=17) %!d(string=hai) anos
pai
achega
e178559906

+ 1 - 2
datapack_development/sql/castle_manor_procure.sql

@@ -1,8 +1,7 @@
 -- ---------------------------
 -- Table structure for `castle_manor_procure`
 -- ---------------------------
-DROP TABLE IF EXISTS `castle_manor_procure`;
-CREATE TABLE `castle_manor_procure` (
+CREATE TABLE IF NOT EXISTS `castle_manor_procure` (
   `castle_id` INT NOT NULL DEFAULT '0',
   `crop_id` int(11) NOT NULL DEFAULT '0',
   `can_buy` int(11) NOT NULL DEFAULT '0',

+ 1 - 2
datapack_development/sql/castle_manor_production.sql

@@ -1,8 +1,7 @@
 -- ---------------------------
 -- Table structure for `castle_manor_production`
 -- ---------------------------
-DROP TABLE IF EXISTS `castle_manor_production`;
-CREATE TABLE `castle_manor_production` (
+CREATE TABLE IF NOT EXISTS `castle_manor_production` (
   `castle_id` INT NOT NULL DEFAULT '0',
   `seed_id` int(11) NOT NULL DEFAULT '0',
   `can_produce` int(11) NOT NULL DEFAULT '0',