Fix compile error

This commit is contained in:
FlorianMichael 2024-12-29 22:05:03 +01:00
parent 98e65ab032
commit bf444bd5a7
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126

View File

@ -32,7 +32,7 @@ public final class WolfHealthTracker1_14_4 implements StorableObject {
private final Int2FloatMap healthDataMap = new Int2FloatOpenHashMap();
public static float getWolfHealth(final LivingEntity entity) {
ProtocolTranslator.getPlayNetworkUserConnection().get(WolfHealthTracker1_14_4.class).getWolfHealth(entity.getId(), entity.getHealth());
return ProtocolTranslator.getPlayNetworkUserConnection().get(WolfHealthTracker1_14_4.class).getWolfHealth(entity.getId(), entity.getHealth());
}
public float getWolfHealth(final int entityId, final float fallback) {