mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 07:23:43 +01:00
17 lines
600 B
Diff
17 lines
600 B
Diff
|
--- a/net/minecraft/server/ShapeDetectorShape.java
|
||
|
+++ b/net/minecraft/server/ShapeDetectorShape.java
|
||
|
@@ -6,8 +6,12 @@
|
||
|
public final Vec3D velocity;
|
||
|
public final float yaw;
|
||
|
public final float pitch;
|
||
|
+ // CraftBukkit start
|
||
|
+ public final WorldServer world;
|
||
|
|
||
|
- public ShapeDetectorShape(Vec3D vec3d, Vec3D vec3d1, float f, float f1) {
|
||
|
+ public ShapeDetectorShape(Vec3D vec3d, Vec3D vec3d1, float f, float f1, WorldServer world) {
|
||
|
+ this.world = world;
|
||
|
+ // CraftBukkit end
|
||
|
this.position = vec3d;
|
||
|
this.velocity = vec3d1;
|
||
|
this.yaw = f;
|