@@ -140,10 +140,10 @@ index 0000000000000000000000000000000000000000..dd96b107b3208707958735ef059c6b20
140
140
\ No newline at end of file
141
141
diff --git a/src/main/kotlin/one/tranic/levelpowered/vine/config/VineConfig.kt b/src/main/kotlin/one/tranic/levelpowered/vine/config/VineConfig.kt
142
142
new file mode 100644
143
- index 0000000000000000000000000000000000000000..cfbdc493140facfc742bbd99704bd053fcd50500
143
+ index 0000000000000000000000000000000000000000..960b0d79a27c111d2d9750c05e04f8a0f216b7b0
144
144
--- /dev/null
145
145
+++ b/src/main/kotlin/one/tranic/levelpowered/vine/config/VineConfig.kt
146
- @@ -0,0 +1,210 @@
146
+ @@ -0,0 +1,225 @@
147
147
+ package one.tranic.levelpowered.vine.config
148
148
+
149
149
+ import gg.pufferfish.pufferfish.simd.SIMDDetection
@@ -212,7 +212,18 @@ index 0000000000000000000000000000000000000000..cfbdc493140facfc742bbd99704bd053
212
212
+ addDefault(
213
213
+ "vine.fix.incorrect-bounce-logic",
214
214
+ false,
215
- + listOf("Fixes some entities not bouncing on slime blocks and getting stuck", "Fixes: https://bugs.mojang.com/browse/MC-216985")
215
+ + listOf(
216
+ + "Fixes some entities not bouncing on slime blocks and getting stuck",
217
+ + "Fixes: https://bugs.mojang.com/browse/MC-216985"
218
+ + )
219
+ + )
220
+ + addDefault(
221
+ + "vine.fix.explosion-breaks-item-frame-in-water",
222
+ + false,
223
+ + listOf(
224
+ + "Fixes Explosions being able to destroy item frames in water",
225
+ + "Fixes: https://bugs.mojang.com/browse/MC-3697"
226
+ + )
216
227
+ )
217
228
+
218
229
+ addDefault(
@@ -262,6 +273,7 @@ index 0000000000000000000000000000000000000000..cfbdc493140facfc742bbd99704bd053
262
273
+
263
274
+ private fun loadConfigValue() {
264
275
+ Fix.incorrectBounceLogic = getBoolean("vine.fix.incorrect-bounce-logic")
276
+ + Fix.explosionBreaksItemFrameInWater = getBoolean("vine.fix.explosion-breaks-item-frame-in-water")
265
277
+
266
278
+ LevelBukkit.tryFixAnvilDrop = getBoolean("levelbukkit.try-fix-anvil-drop.enabled")
267
279
+ LevelBukkit.tryFixAnvilDropLogger = getBoolean("levelbukkit.try-fix-anvil-drop.debug")
@@ -318,6 +330,9 @@ index 0000000000000000000000000000000000000000..cfbdc493140facfc742bbd99704bd053
318
330
+ object Fix {
319
331
+ @JvmField
320
332
+ var incorrectBounceLogic = false
333
+ +
334
+ + @JvmField
335
+ + var explosionBreaksItemFrameInWater = false
321
336
+ }
322
337
+
323
338
+ object LevelBukkit {
0 commit comments