From 8d495e03625734eab0e77a8ba3c08c9906df7b44 Mon Sep 17 00:00:00 2001 From: brandyn Date: Sat, 8 Aug 2026 04:59:57 +0100 Subject: [PATCH] remove redundant no-op setHealth Removes the no-op setHealth() override. Luggage now initializes at maximum health while remaining invulnerable. Before Luggage would spawn in with half a heart out of his maximum health. Bugged me and created a small bug with my knockdown system in my own mod. Should have zero impact outside of fixing how his health looks on waila and my own mod. --- src/main/java/openblocks/common/entity/EntityLuggage.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/openblocks/common/entity/EntityLuggage.java b/src/main/java/openblocks/common/entity/EntityLuggage.java index 1e6441dbc..08c5342f9 100644 --- a/src/main/java/openblocks/common/entity/EntityLuggage.java +++ b/src/main/java/openblocks/common/entity/EntityLuggage.java @@ -227,11 +227,6 @@ public boolean isEntityInvulnerable() { return true; } - @Override - public void setHealth(float health) { - // NO-OP - } - @Override protected boolean canDespawn() { return false;