josemmo / yamipa

Yet Another Minecraft Image Placing Addon
https://www.spigotmc.org/resources/88709/
MIT License
73 stars 19 forks source link

Images don't load when player approaches in a custom vehicle #115

Closed Kinboise closed 8 months ago

Kinboise commented 9 months ago

I'm aware that #78 has been fixed for minecarts and other vanilla rideable entities. But it still doesn't work with plugin-added vehicles. Is it possible to just detect the player?

josemmo commented 9 months ago

Hello, @Kinboise!

It depends on how the plugin introduces custom vehicles. Which plugin are you using?

Kinboise commented 9 months ago

I'm using Citizens and MTVehicles. As far as I know, Citizens is probably using fake entity for its NPCs, and MTVehicles uses armor stands for its cars.

josemmo commented 9 months ago

So, the reason Yamipa cannot track the player when in a vehicle from MTVehicles is because the latter does not trigger neither the PlayerMoveEvent nor VehicleMoveEvent. Without that, Yamipa (or any plugin, for that matter) cannot know the player moved.

Honestly, I don't how to proceed here 🤷‍♂️ I'm not even sure whether this is something MTVehicles should fix as it's related to Bukkit:

josemmo commented 8 months ago

Closed due to inactivity.