SPIGOT-5015: Players in spectator mode prevent block placement and block projectiles

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-06-02 19:51:26 +10:00
parent 9db0901922
commit a5abba4a51
4 changed files with 5 additions and 5 deletions

View File

@@ -645,8 +645,8 @@
blockposition = worldserver1.getHighestBlockYAt(HeightMap.Type.MOTION_BLOCKING_NO_LEAVES, worldserver1.getSpawn());
} else if (dimensionmanager == DimensionManager.THE_END) {
@@ -2039,6 +2393,25 @@
vec3d = shapedetector_c.b;
f = (float) shapedetector_c.c;
vec3d = shapedetector_shape.velocity;
f = (float) shapedetector_shape.yaw;
}
+ } // CraftBukkit
+