3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-04 18:40:06 +01:00

Reverted an upstream change due to a sketchy class issue

Dieser Commit ist enthalten in:
matt 2019-03-26 15:29:46 -04:00
Ursprung 3420b8329b
Commit 8124d3b3c5

Datei anzeigen

@ -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);
} }