Reverted an upstream change due to a sketchy class issue

This commit is contained in:
matt 2019-03-26 15:29:46 -04:00
parent 3420b8329b
commit 8124d3b3c5

View File

@ -37,7 +37,7 @@ import javax.annotation.Nullable;
/** /**
* An adapter to adapt a Bukkit entity into a WorldEdit one. * An adapter to adapt a Bukkit entity into a WorldEdit one.
*/ */
class BukkitEntity implements Entity { public class BukkitEntity implements Entity {
private final WeakReference<org.bukkit.entity.Entity> entityRef; private final WeakReference<org.bukkit.entity.Entity> entityRef;
@ -46,7 +46,7 @@ class BukkitEntity implements Entity {
* *
* @param entity the entity * @param entity the entity
*/ */
BukkitEntity(org.bukkit.entity.Entity entity) { public BukkitEntity(org.bukkit.entity.Entity entity) {
checkNotNull(entity); checkNotNull(entity);
this.entityRef = new WeakReference<>(entity); this.entityRef = new WeakReference<>(entity);
} }