Add PhantomPreSpawnEvent

This commit is contained in:
BillyGalbreath
2018-08-25 19:56:51 -05:00
parent 1ef5dc7644
commit f6b20dccfc
3 changed files with 66 additions and 2 deletions

View File

@@ -28,4 +28,11 @@ public class CraftPhantom extends CraftFlying implements Phantom, CraftEnemy {
public String toString() {
return "CraftPhantom";
}
// Paper start
@Override
public java.util.UUID getSpawningEntity() {
return getHandle().getSpawningEntity();
}
// Paper end
}