Mercerenies / a-turtles-troll

Random Minecraft shenanigans
GNU General Public License v3.0
4 stars 2 forks source link

Fix for phantom fire #86

Closed EvanSkiStudios closed 1 year ago

EvanSkiStudios commented 1 year ago

So you know how Vector burns but doesnt take damage??

Well this will hopefully prevent him from being on fire in the first place

Tested it in my plugin and it works, but because I dont use kotlin and dont have your build setup, I have this untested

The EntityCombustEvent fires when an entity is on fire so we just cancel the event, then set the next tick to put out vector's fire

so Vector never gets a chance to burn and take damage

Mercerenies commented 1 year ago

Neat! I'll test it tomorrow on my own setup.

Mercerenies commented 1 year ago

It is now tomorrow and I have merged this MR.