bergerhealer / TrainCarts

Minecarts redefined
MIT License
205 stars 63 forks source link

Unable to rename correctly trains (SignLink not actualising) #409

Closed Aeris1One closed 3 years ago

Aeris1One commented 3 years ago

Info

Please provide the following information:


Bug

Description

I tried to have some signs using SignLink, I placed some %triggerN% which shown rightly train5 then I renamed the train to 3106 (because of train number) but the sign doesn't refresh even if I replace it, even if the train pass on another trigger powered sign it actualise the cooldown but not the name. Also, in TrainProperties file it's still written train5

Expected behaviour

What do you expect TrainCarts to do? Change the name of the train at least on the sign

Actual behaviour

What is TrainCarts doing instead? The name doesn't change at all

Steps to reproduce

Please list the steps to take, in order to reproduce the bug.

  1. Place some train named default (trainN)
  2. Make it pass on a trigger sign
  3. Place a sign with %[trigger]N%
  4. It will show trainN, right
  5. Rename the train
  6. Make it pass another time on the trigger sign
  7. The name on sign is not actualised

Additionnal Informations

The train was successfully renamed on /train info

Aeris1One commented 3 years ago

Solved, had to use /train displayname 3106