fix some compile errors

This commit is contained in:
Jake Potrebic
2023-03-14 15:13:41 -07:00
parent d5f9f3f9fc
commit e277e6a990
16 changed files with 84 additions and 20 deletions

View File

@@ -23,17 +23,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
this.getHandle().queuedHealthUpdatePacket = packet;
} else {
@@ -0,0 +0,0 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
}
// Paper end
}
-
+
+ @Override
+ public void sendHealthUpdate() {
+ this.sendHealthUpdate(this.getScaledHealth(), this.getHandle().getFoodData().getFoodLevel(), this.getHandle().getFoodData().getSaturationLevel());
+ }
+ // Paper end
+
+
public void injectScaledMaxHealth(Collection<AttributeInstance> collection, boolean force) {
if (!this.scaledHealth && !force) {
return;