Skip to content

Commit

Permalink
Fixed issue with Holograms not persisting instances of stands for hol…
Browse files Browse the repository at this point in the history
…ograms created with getAt
  • Loading branch information
boxbeam committed May 21, 2020
1 parent bff3a32 commit adb3311
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/redempt/redlib/misc/Hologram.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public static Hologram getAt(Location loc) {
.filter(e -> e instanceof ArmorStand)
.map(e -> (ArmorStand) e)
.filter(s -> getId(s) != 0)
.map(EntityPersistor::persist)
.forEach(stands::add);
if (stands.size() == 0) {
return null;
Expand Down

0 comments on commit adb3311

Please sign in to comment.