Closed EvanSkiStudios closed 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
Neat! I'll test it tomorrow on my own setup.
It is now tomorrow and I have merged this MR.
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