We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f021b00 commit cdac382Copy full SHA for cdac382
1 file changed
rebar/src/main/kotlin/io/github/pylonmc/rebar/i18n/RebarTranslator.kt
@@ -204,8 +204,8 @@ class RebarTranslator private constructor(private val addon: RebarAddon) : Trans
204
// Potions are wacky wrt names, so we lie to the client about the type and set the model data
205
val oldStack = clone()
206
@Suppress("DEPRECATION")
207
- type = Material.GLASS_BOTTLE
208
- check(type == Material.GLASS_BOTTLE) { "ItemStack.setType no longer works" }
+ type = Material.CLAY_BALL
+ check(type == Material.CLAY_BALL) { "ItemStack.setType no longer works" }
209
copyDataFrom(oldStack) { true }
210
editData(DataComponentTypes.ITEM_MODEL) { oldStack.type.key }
211
}
0 commit comments