diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-03-28 23:09:18 -0400 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-03-28 23:09:18 -0400 |
| commit | 2352b5324ae1f7a37361f067de836c3da6b1f1e5 (patch) | |
| tree | 4153b8c74f84dffc9863d29c12d253a2ca857463 /bukkit/src/Shim.kt | |
| parent | add wiki (diff) | |
| download | kenshinshideandseek2-2.0.0-alpha2.tar.gz kenshinshideandseek2-2.0.0-alpha2.tar.bz2 kenshinshideandseek2-2.0.0-alpha2.zip | |
2.0.0-alpha2v2.0.0-alpha2
- Added command /hs map blockhunt disguise
- Auto complete block names in blockhunt commands
- Fixed void generating chunks in non map save worlds
- Fixed onDamage having no attacker
- Fixed onDamage not respawning seeker properly
- Fixed config deserialize not handeling nulls
- Fixed config deserialize looking at more properties then it should
Diffstat (limited to 'bukkit/src/Shim.kt')
| -rw-r--r-- | bukkit/src/Shim.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bukkit/src/Shim.kt b/bukkit/src/Shim.kt index 4e53344..0dc5a0e 100644 --- a/bukkit/src/Shim.kt +++ b/bukkit/src/Shim.kt @@ -16,6 +16,7 @@ import java.io.InputStream import java.util.UUID import kotlin.jvm.optionals.getOrNull import org.bukkit.ChatColor +import org.bukkit.Material import org.bukkit.World as BukkitWorld import org.bukkit.WorldCreator import org.bukkit.WorldType @@ -70,6 +71,9 @@ class BukkitKhsShim(val plugin: KhsPlugin) : KhsShim { } .map { it.name } + override val blocks: List<String> + get() = Material.values().map { it.toString().uppercase() } + override val sqliteDatabasePath: String get() { val legacy = File(plugin.dataFolder.path, "database.db") |