MinecartTemporaryCart issue / since quite a while
LadyCailinBot opened this issue · 5 comments
CRAFTBOOK-3446 - Reported by thief_a
MinecartTemporaryCart removes any minecart, regardless of its lore.
as i use the plugin Uplane to get flying minecarts (lore: plane) these specific carts should be left untouched by the instandcart function. (witch i cant disable because its a good part of our huge railway system and damn helpfull)
any way to make sure instacart really just triggers on regular minecarts? (even if they get teleportet to that map/ server via bungee?)
prolly happend because of issue Nr. 3166 as a fix for that...
Comment by thief_a
hi,
ok then, not lore, but a different name than normal minecarts.
is it possible to check for the name of minecarts, rather then just the id, as i think that is how it got done since the instacart issue with carts not beeing removed when getting teleportet on the same map or trough bungee?
that way the special cars from uplanes would not be affectet, while all other minecarts still would get removed, even if they got teleportet.
Comment by me4502
There aren't names on Minecarts. The only piece of data that can be assigned to them is Bukkit Metadata, which won't persist with any form of teleportation.
Comment by thief_a
hi,
i understand that planes wont work with teleportation or trough bungee, these crafts are per map anyway.
the default minecarts however getting teleportet trough bungee and within the same server across maps and even within maps itself (multiverse)
these minecarts are all thogeter all the time handled as Instaminecarts, witch is absolutly perfect and wanted.
but the modified minecarts called plane, shouldnt be affected by CB. Atleast aslong as they did not get teleportet or change the map.
when its just traveling from point a to point b on the same map and then leaving the (minecart)plane.
i attached a picture that shows one with its name or what ever it is that you can give them.
sorry, im not to mutch in to that side of minecraft...
so long story short:
is there any way to make CB ignore that kind of (minecart)plane (or any other that has anything changed compared to a "pure" minecart) but still handle any untouched minecart as instacart?
Thanks for your patience with me
Comment by me4502
They don’t have a name in the world, so there’s absolutely nothing that can be done based on the name. The best that can be done is to undo the change that was done years ago, and keep track of Minecarts that have been created by this. That will then cause the issue with teleports again. Realistically whatever plugin is teleporting the cart should be re-creating it exactly anyway.