Updated Upstream (Paper)

Upstream has released updates that appears to apply and compile correctly

Paper Changes:
ec9fa369 1.15.2 - Updated Upstream (Bukkit/CraftBukkit)
This commit is contained in:
William Blake Galbreath
2020-06-23 19:39:53 -05:00
parent 05a85435d2
commit 026f2bcfae
5 changed files with 12 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
From 47201ce57f115901505987858cc16e919b551f0c Mon Sep 17 00:00:00 2001
From 9b77d9886cde434034d95d1dd086971e27e85222 Mon Sep 17 00:00:00 2001
From: William Blake Galbreath <blake.galbreath@gmail.com>
Date: Sun, 19 May 2019 18:11:53 -0500
Subject: [PATCH] Campfires have regen effect
@@ -25,13 +25,13 @@ index 6303be944..65f8d803b 100644
public static final BlockStateDirection e = BlockProperties.N;
private static final VoxelShape f = Block.a(6.0D, 0.0D, 6.0D, 10.0D, 16.0D, 10.0D);
diff --git a/src/main/java/net/minecraft/server/EntityLiving.java b/src/main/java/net/minecraft/server/EntityLiving.java
index bf82399c8..10af384d6 100644
index 685538793..aaaa98318 100644
--- a/src/main/java/net/minecraft/server/EntityLiving.java
+++ b/src/main/java/net/minecraft/server/EntityLiving.java
@@ -2798,10 +2798,19 @@ public abstract class EntityLiving extends Entity {
}
@@ -2799,10 +2799,19 @@ public abstract class EntityLiving extends Entity {
public boolean hasLineOfSight(Entity entity) {
if (this.world != entity.world) return false; // CraftBukkit - SPIGOT-5675, SPIGOT-5798, MC-149563
- Vec3D vec3d = new Vec3D(this.locX(), this.getHeadY(), this.locZ());
- Vec3D vec3d1 = new Vec3D(entity.locX(), entity.getHeadY(), entity.locZ());
+ // Purpur start