Fixed guardian beam getting stuck on players (#540)

* Fixed guardian beam getting stuck on players

* Fixed formatting
This commit is contained in:
rtm516 2020-05-13 03:31:42 +01:00 committed by GitHub
parent d63d0def5a
commit 46b0054435
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,6 +48,8 @@ public class GuardianEntity extends MonsterEntity {
if (entity != null) {
metadata.put(EntityData.TARGET_EID, entity.getGeyserId());
} else {
metadata.put(EntityData.TARGET_EID, (long) 0);
}
}