mojira.dev
MC-98754

Strange server-side/client-side bug 1.9 realms

I was making a realms server, and I discovered a very weird bug with my friend. We were working on a way to make a glass players could walk through. We used 2 simple commands:

execute @a ~ ~ ~ detect ~ ~ ~0.5 stained_glass 0 /tp @p ~ ~ ~0.01
execute @a ~ ~ ~ detect ~ ~ ~-0.5 stained_glass 0 /tp @p ~ ~ ~-0.01

this basically teleports the player into the block if they are near it, allowing them to walk through it. Now we were testing it and we noticed when you get teleported into the block, and then you walk out, you are still in the block on server side. I may not have this right, but any other players on the realm see you as in the block, but you can walk around freely. When you run the players see particles under your feet. Also, you can't place blocks, or access command blocks. I have a video showing this here:

https://www.youtube.com/watch?v=PX6MCiZEif0

In the video you can clearly see that when I enter the glass I can't place blocks or open the command blocks. You can also see what it looks like to see another player in the glass.

As far as I can tell this only happens in realms. Sorry I could not upload the video to this thread, as it was too large.

Environment

minecraft Version: 1.9
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 111611912 bytes (106 MB) / 302170112 bytes (288 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Launched Version: 1.9
LWJGL: 2.9.4
OpenGL: GeForce GTX 750 Ti/PCIe/SSE2 GL version 4.5.0 NVIDIA 362.00, NVIDIA Corporation
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

Using VBOs: No
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
Resource Packs: Slime Rancher
Current Language: English (US)
Profiler Position: N/A (disabled)
CPU: 4x Intel(R) Core(TM) i5-4430 CPU @ 3.00GHz

Linked issues

Comments 7

Did you test this on the normal server jar?

Please do so we know if this is caused by realms.

Ok so we tested it, and it does happen. There is an exception though. The person hosting the server does not experience the bug but the other player does. So in this case I was the host person and I did not have a problem moving through the glass and I could not be seen in the glass by other players, but dany_ev3 (The other person helping me with this) did experience the problem and I could see him in the glass.

Are we allowed to bump? if so... bump!

I found this happens when the player is teleported in quick succession. Also when changing rotation using the /tp command. The player does not have to be inside the block

migrated

(Unassigned)

Unconfirmed

Minecraft 1.9

Retrieved