forked from GeyserMC/Geyser
Fixed guardian beam getting stuck on players (#540)
* Fixed guardian beam getting stuck on players * Fixed formatting
This commit is contained in:
parent
d63d0def5a
commit
46b0054435
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ public class GuardianEntity extends MonsterEntity {
|
||||||
|
|
||||||
if (entity != null) {
|
if (entity != null) {
|
||||||
metadata.put(EntityData.TARGET_EID, entity.getGeyserId());
|
metadata.put(EntityData.TARGET_EID, entity.getGeyserId());
|
||||||
|
} else {
|
||||||
|
metadata.put(EntityData.TARGET_EID, (long) 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue