Per-world Creeper settings complete
- Added per-world Block Damage settings - Added per-world Entity Damage settings - Added creeper_settings database support - Added world-specific Creeper menus - Added automatic world registration/default inheritance - Split Creeper listeners - Updated Creeper behavior to use world settings - Removed obsolete global Creeper indicators - Adopted logger-based error reporting standard
This commit is contained in:
1 parent
9ca8039268
commit
ebf030b192
12 files changed
+1318
-86
No files matched your search
@@ -76,6 +76,16 @@ public class DatabaseManager {
|
||||
"""
|
||||
);
|
||||
|
||||
statement.execute(
|
||||
"""
|
||||
CREATE TABLE IF NOT EXISTS creeper_settings (
|
||||
world_name TEXT PRIMARY KEY,
|
||||
block_damage INTEGER NOT NULL,
|
||||
entity_damage INTEGER NOT NULL
|
||||
)
|
||||
"""
|
||||
);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user