Skip to content

Commit 9f3d895

Browse files
committed
fix: adds missing Mimic config entries
1 parent a0ebf4c commit 9f3d895

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ This Bukkit (compatible with CraftBukkit, Spigot, Paper) plugin adds a way to ob
2727
- Economy addon [SilkSpawnersEcoAddon](https://dev.bukkit.org/projects/silkspawnersecoaddon)
2828
- Shop addon [SilkSpawnersShopAddon](https://spigotmc.org/resources/12028/) (login required, Premium Plugin)
2929
- BossBarAPI support for >= 1.9, otherwise BarAPI can be used
30+
- Mimic support
3031
- Support for multiple Minecraft versions, from 1.8.8 to 1.21 (with exlusion of 1.9 and 1.10)
3132

3233
_Third party features, all of them can be disabled_
@@ -54,6 +55,9 @@ permissionExplode: false
5455
# Should be checked for WorldGuard build ability to change spawners
5556
useWorldGuard: true
5657

58+
# Allows you to use Mimic item IDs in allowedTools
59+
useMimic: true
60+
5761
# Percentage of dropping a spawner block when TNT or creepers explode
5862
explosionDropChance: 30
5963

modules/SilkSpawners/src/main/java/de/dustplanet/silkspawners/configs/Config.java

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ private void loadDefaultConfig() {
2626
config.addComment("permissionExplode", "", "# Should a permission be required when a spawner explodes by TNT to achieve a drop");
2727
config.addDefault("useWorldGuard", true);
2828
config.addComment("useWorldGuard", "", "# Should be checked for WorldGuard build ability to change spawners");
29+
config.addDefault("useMimic", true);
30+
config.addComment("useMimic", "", "# Allows you to use Mimic item IDs in allowedTools");
2931
config.addDefault("explosionDropChance", 30);
3032
config.addComment("explosionDropChance", "", "# Percentage of dropping a spawner block when TNT or creepers explode");
3133
config.addDefault("destroyDropChance", 100);

modules/SilkSpawners/src/main/resources/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ permissionExplode: false
99
# Should be checked for WorldGuard build ability to change spawners
1010
useWorldGuard: true
1111

12-
useMimic: true
1312
# Allows you to use Mimic item IDs in allowedTools
13+
useMimic: true
1414

1515
# Percentage of dropping a spawner block when TNT or creepers explode
1616
explosionDropChance: 30

0 commit comments

Comments
 (0)