Skip to content

Commit

Permalink
Potential fix for other plugins trying to access EntityHologram and f…
Browse files Browse the repository at this point in the history
…ail as it's private
  • Loading branch information
OmerBenGera committed Nov 20, 2022
1 parent ea832e0 commit 0e92e23
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Expand Up @@ -42,7 +42,7 @@ public boolean isHologram(Entity entity) {
return ((CraftEntity) entity).getHandle() instanceof Hologram;
}

private static class EntityHologram extends ArmorStand implements Hologram {
public static class EntityHologram extends ArmorStand implements Hologram {

private static final AABB EMPTY_BOUND = new AABB(0D, 0D, 0D, 0D, 0D, 0D);

Expand Down
Expand Up @@ -42,7 +42,7 @@ public boolean isHologram(Entity entity) {
return ((CraftEntity) entity).getHandle() instanceof Hologram;
}

private static class EntityHologram extends ArmorStand implements Hologram {
public static class EntityHologram extends ArmorStand implements Hologram {

private static final AABB EMPTY_BOUND = new AABB(0D, 0D, 0D, 0D, 0D, 0D);

Expand Down
Expand Up @@ -42,7 +42,7 @@ public boolean isHologram(Entity entity) {
return ((CraftEntity) entity).getHandle() instanceof Hologram;
}

private static class EntityHologram extends ArmorStand implements Hologram {
public static class EntityHologram extends ArmorStand implements Hologram {

private static final AABB EMPTY_BOUND = new AABB(0D, 0D, 0D, 0D, 0D, 0D);

Expand Down
Expand Up @@ -42,7 +42,7 @@ public boolean isHologram(Entity entity) {
return ((CraftEntity) entity).getHandle() instanceof Hologram;
}

private static class EntityHologram extends ArmorStand implements Hologram {
public static class EntityHologram extends ArmorStand implements Hologram {

private static final AABB EMPTY_BOUND = new AABB(0D, 0D, 0D, 0D, 0D, 0D);

Expand Down
Expand Up @@ -42,7 +42,7 @@ public boolean isHologram(Entity entity) {
return ((CraftEntity) entity).getHandle() instanceof Hologram;
}

private static class EntityHologram extends ArmorStand implements Hologram {
public static class EntityHologram extends ArmorStand implements Hologram {

private static final AABB EMPTY_BOUND = new AABB(0D, 0D, 0D, 0D, 0D, 0D);

Expand Down
Expand Up @@ -42,7 +42,7 @@ public boolean isHologram(Entity entity) {
return ((CraftEntity) entity).getHandle() instanceof Hologram;
}

private static class EntityHologram extends ArmorStand implements Hologram {
public static class EntityHologram extends ArmorStand implements Hologram {

private static final AABB EMPTY_BOUND = new AABB(0D, 0D, 0D, 0D, 0D, 0D);

Expand Down
Expand Up @@ -37,7 +37,7 @@ public boolean isHologram(Entity entity) {
return ((CraftEntity) entity).getHandle() instanceof Hologram;
}

private static class EntityHologram extends EntityArmorStand implements Hologram {
public static class EntityHologram extends EntityArmorStand implements Hologram {

EntityHologram(World world, double x, double y, double z) {
super(world, x, y, z);
Expand Down
Expand Up @@ -42,7 +42,7 @@ public boolean isHologram(Entity entity) {
return ((CraftEntity) entity).getHandle() instanceof Hologram;
}

private static class EntityHologram extends EntityArmorStand implements Hologram {
public static class EntityHologram extends EntityArmorStand implements Hologram {

private CraftEntity bukkitEntity;

Expand Down
Expand Up @@ -33,7 +33,7 @@ public boolean isHologram(Entity entity) {
return ((CraftEntity) entity).getHandle() instanceof Hologram;
}

private static class EntityHologram extends EntityArmorStand implements Hologram {
public static class EntityHologram extends EntityArmorStand implements Hologram {

EntityHologram(World world, double x, double y, double z) {
super(world, x, y, z);
Expand Down

0 comments on commit 0e92e23

Please sign in to comment.