mojira.dev
MC-187

teleporting a player triggers a pressure plate sometimes

When teleporting, the player triggers some pressure plates he doesn't stand on.

Video: https://www.youtube.com/watch?v=R_D5n7Y2N9o
Doesn't happen here: https://www.youtube.com/watch?v=N6nwpLu8EuA
One more time without the sh*t around it: http://youtu.be/4fCBSx_PyGM

Reproduce:
I don't know!? It's very random.
The only thing I can say:
1. make 2 squares from redstone lamps, one hovering 5 blocks or so above the other one.
2. Place pressure plates on all the redstone lamps.
3. teleport from corners to other corners with commandblocks. (I tried it without command blocks and then it didn't happen, where id did happen with command blocks)
4. Sometimes a pressure plate gets triggered on a corner where you haven't been.

Keep trying. It's very random, so you might want to try out very different coords.

Good luck fixing it, it's very annoying when you want to use different 'teleportation gates'. Sometimes you get teleported to a wrong location because you accidentally triggered a wrong pressure plate.

Attachments

Comments 9

Can't reproduce with the map you provided in the first video. 😞

that's weird, I'll try to make a new map with just the bug and not the sh*t around it.

Uploaded an attachment, I hope it works now (that sounds weird for a bug) I'll upload a new video soon.

added a new youtube link, not uploaded yet though. Wait a few minutes.

Can I know what the problem was or is that too complicated? 😛

The bug was that the pressure plate would trigger the teleport command immediately, so the server's thread would still be inside the movement method for the player's position before being teleported. We are not 100% sure why the false pressure plate was triggered, but we fixed by delaying the command block by 1 tick.

Ok, thanks. It was still quite easy to understand. Jeb's conclusion would have been correct too though.
Anyway, thanks for fixing it 😉

Jesper the End

Nathan Adams

Unconfirmed

/tp, pressure_plate, teleport, trigger

Minecraft 1.4.2

Minecraft 1.4.3

Retrieved