catageek / ByteCart

Minecraft plugin for bukkit to create a LAN/WAN rail network with routing algorithm
GNU General Public License v3.0
27 stars 9 forks source link

Selecting cart issue #53

Closed itskun closed 6 years ago

itskun commented 7 years ago

So, how do I choose a cart, if the right click action is performed, for example, opens the chest. I'm writing a command /sendto 1.1.2, then I have a message "Select a chest cart", right-clicking to a cart opens the chest...

thiefa commented 7 years ago

/sendto x.x.x and then right clicking a cart works for me... adds the ticket to the cart, and does not open the inv in the first place.

spigot 1.12.1 and latest bc

catageek commented 7 years ago

Only possible cause I see is that another plugin is cancelling the event of right-clicking before ByteCart can catch it. Please search for the plugin that triggers this behaviour, to see if we can work on this issue

itskun commented 6 years ago

I searched that Railcraft triggers this behaviour.

Thermos-1.7.10-1614-56-server.jar Railcraft_1.7.10-9.12.2.0 ByteCart 2.7.5

Carts are replaced by Railcraft to "entity.MinecartChest.name", "entity.MinecartRideable.name", etc.

catageek commented 6 years ago

I think I found the problematic line here The fix should be trivial and I will make a new release in a few days. In the meantime, you can use /mego and manually transfer the ticket from your inventory to the chest.

catageek commented 6 years ago

Hi @itskun

Please download and try this update

itskun commented 6 years ago

Unfortunately, I can't check because I have 1.7.10 server.