[MC-187] teleporting a player triggers a pressure plate sometimes Created: 24/Oct/12  Updated: 06/Apr/18  Resolved: 01/Nov/12

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2
Fix Version/s: Minecraft 1.4.3

Type: Bug
Reporter: Jesper the End Assignee: [Mojang] Nathan Adams
Resolution: Fixed Votes: 0
Labels: /tp, pressure_plate, teleport, trigger
Environment:

Mac OS X
Java 1.6.0.jdk I Believe??


Attachments: Zip Archive Weird_pressure_plates.zip    
Confirmation Status: Unconfirmed

 Description   

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.



 Comments   
Comment by Jesper the End [ 01/Nov/12 ]

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

Comment by [Mojang] Jeb (Jens Bergensten) [ 01/Nov/12 ]

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.

Comment by [Mojang] Nathan Adams [ 01/Nov/12 ]

Simply put; ghosts!

Comment by Jesper the End [ 01/Nov/12 ]

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

Comment by [Mojang] Jeb (Jens Bergensten) [ 01/Nov/12 ]

Thanks for the help!

Comment by Jesper the End [ 01/Nov/12 ]

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

Comment by Jesper the End [ 01/Nov/12 ]

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

Comment by Jesper the End [ 01/Nov/12 ]

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

Comment by [Mojang] Nathan Adams [ 01/Nov/12 ]

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

Generated at Sun Jan 12 11:50:10 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.