Set Location Command not working in Multiplayer

Started by Naver789 on Thu, 08/19/2021 - 02:39

Topic category: Help with MCreator software

Last seen on 20:37, 22. Aug 2021
Joined Jul 2019

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Set Location Command not working in Multiplayer
Thu, 08/19/2021 - 02:39 (edited)

I am trying to make a Teleporter, which teleports the Player which is closest to it when activated with redstone. For that I am using a Procedure which sets the new location and the dimension for the player.
Now when I use this in Singleplayer everthing is working as intended, but when I use it on Server it only switches the dimension (if the target destination is in another dimension) and the coordinates stay the same. The set location command is working in other procedures, so I think that shouldnt be the error. I thought it has to do something with the Entity Iterator and the Loop for searching for players, but why is it working for the command for switching the dimension but not for the set location command?
I am sitting on this for a couple of days now, a Idea or possible solution would be very appreciated for how I can solve this problem. Thanks for your time.

Happy to give more information if needed


Edited by Naver789 on Thu, 08/19/2021 - 02:39