Mythic-Projects / Titanium

Titanium is Paper fork which aims to improve performance, fix exploits and bugs, improve API and provide better configuration for server administrators.
GNU General Public License v3.0
4 stars 1 forks source link

Explosion knockback in wrong direction #137

Open MaxedOut1 opened 1 year ago

MaxedOut1 commented 1 year ago

Explosion knockback pushes players in the wrong direction. I'm using the latest titanium Dev build, however the issue is also present in the latest public release.

I have currently only tested this with explosions made by plugins, for example the /fireball command from essentialsx and the world.createexplosion() method I used in my own plugin.

If the player is in range of these explosions they are pulled towards it instead of pushed away.

It's possible it's an incompatibility with a plugin i have on my server, however it worked just fine before I started using titanium.

P3ridot commented 1 year ago

Do you have async tnt enabled?

MaxedOut1 commented 1 year ago

titanium.yml.txt Heres my config. (as txt cause thats what github supports.)

Async tnt is currently disabled, but I will test whether enabling it fixes this problem

P3ridot commented 1 year ago

Configuration looks normal, could you please create videos showing difference between Titanium and plain Paper?

MaxedOut1 commented 1 year ago

Just tested with async enabled, issue is still there. I will test with regular paper now. None of my plugins should be changing velocity or knockback, but you never know. Will report back shortly

MaxedOut1 commented 1 year ago

Ok just tested with regular paper, explosion knockback is completely normal. The issue is only there when using titanium. No errors show up in console with paper or with titanium.

So far I have only tested with explosions made by plugins (essentialsx and my own), however I will switch back to titanium and test with regular tnt explosions to find out if its something to do with plugin generated explosions.

The issue is exactly as I described, with titanium the player is pulled towards the explosion, rather with paper they are pushed away.

P3ridot commented 1 year ago

Right, I'll try to test and fix this when I would have some time. It's unfortunately really strange issue and currently I have no idea what is causing that...

MaxedOut1 commented 1 year ago

Tested again with titanium and regular tnt, issue is still there. Good luck and let me know if you need any more testing!

P3ridot commented 1 year ago

I noticed that tnt on titanium works a little different than on standard paper. I'd have to do some more testing ans debugging to actually find the reasons it's happening