Whats the problem with this code?

Discussion in 'Plugin Development' started by hasunemiku2015, Jul 9, 2020.

  1. Offline

    hasunemiku2015

    I have been debugged for a day already and i still didnt managed to debug the code, would anyone mind help me find the bug in the code? much thanks

    https://pastebin.com/LxTB26WX
     
  2. Offline

    timtower Moderator Moderator

    @hasunemiku2015 Anything wrong with it then?
    What is the bug? What is the error?
     
  3. Offline

    hasunemiku2015

    [This message is deleted]
     
    Last edited: Jul 9, 2020
  4. Offline

    timtower Moderator Moderator

    @hasunemiku2015 Please explain what it is, how it works, what it should be doing.
    Because right now you are just saying: look at my code.
    I don't know if it is supposed to do something with minecarts or build a mega robot.
     
  5. Offline

    hasunemiku2015

    The detection location "l.add(v2)" should change by only 1 every time the for loop iterates , but like it has a delta x of more than 1 when it iterates
     

Share This Page