From 8124d3b3c51698f77130cbd1bd0e5dd3d0b5372e Mon Sep 17 00:00:00 2001 From: matt <4009945+MattBDev@users.noreply.github.com> Date: Tue, 26 Mar 2019 15:29:46 -0400 Subject: [PATCH] Reverted an upstream change due to a sketchy class issue --- .../main/java/com/sk89q/worldedit/bukkit/BukkitEntity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitEntity.java b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitEntity.java index 4de42d497..a5c7b0a60 100644 --- a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitEntity.java +++ b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitEntity.java @@ -37,7 +37,7 @@ import javax.annotation.Nullable; /** * An adapter to adapt a Bukkit entity into a WorldEdit one. */ -class BukkitEntity implements Entity { +public class BukkitEntity implements Entity { private final WeakReference entityRef; @@ -46,7 +46,7 @@ class BukkitEntity implements Entity { * * @param entity the entity */ - BukkitEntity(org.bukkit.entity.Entity entity) { + public BukkitEntity(org.bukkit.entity.Entity entity) { checkNotNull(entity); this.entityRef = new WeakReference<>(entity); }