BattlePlugins / BattleArena

A complete match and event framework for creating arenas and minigames in Minecraft. Supports creating modes through config files, or fully custom modes through plugins.
https://docs.battleplugins.org/shelves/battlearena
GNU General Public License v3.0
21 stars 23 forks source link

Potions do not work; give 'uncraftable potion' #133

Closed henriz closed 3 months ago

henriz commented 3 years ago

L.S.,

I'm trying to modify the classes so that players have a potion of poison. Potions do not appear to work. Even with the default classes.yml, players get potions with a name 'uncraftable potion'.

supawiz6991 commented 3 years ago

Hi, This is a known bug caused by the change in item/enchantment name scheme. The only work around at this time would be to use (in onspawn) doCommand:

replace wiht something like splash_potion{Potion:"minecraft:strong_harming"} 1

henriz commented 3 years ago

Ok, will do, thanks :)

Forgot to mention I'm using MC 1.16.5, and the latest plugin version.

supawiz6991 commented 3 years ago

yeah, the bug is current in the latest version...unknown how far back it goes without further testing.

supawiz6991 commented 3 years ago

Closed accidently. Leaving open to track bug.