fix: arrow meta shooter id set correctly (#2105)

This commit is contained in:
DeidaraMC 2024-04-23 22:47:35 -04:00 committed by GitHub
parent e8e22a2b15
commit e28adbca3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ public class ArrowMeta extends AbstractArrowMeta implements ObjectDataProvider,
@Override
public int getObjectData() {
return this.shooter == null ? 0 : this.shooter.getEntityId() + 1;
return this.shooter == null ? 0 : this.shooter.getEntityId();
}
@Override

View File

@ -29,7 +29,7 @@ public class SpectralArrowMeta extends AbstractArrowMeta implements ObjectDataPr
@Override
public int getObjectData() {
return this.shooter == null ? 0 : this.shooter.getEntityId() + 1;
return this.shooter == null ? 0 : this.shooter.getEntityId();
}
@Override