diff --git a/src/main/java/com/kyanite/deeperdarker/client/render/DDBoatRenderer.java b/src/main/java/com/kyanite/deeperdarker/client/render/DDBoatRenderer.java index f13be566a..92bb91a6e 100644 --- a/src/main/java/com/kyanite/deeperdarker/client/render/DDBoatRenderer.java +++ b/src/main/java/com/kyanite/deeperdarker/client/render/DDBoatRenderer.java @@ -45,8 +45,9 @@ private ListModel createBoatModel(EntityRendererProvider.Context context, @Override public Pair> getModelWithLocation(Boat boat) { - if(boat instanceof DDBoat ddBoat) return BOAT_RESOURCES.get(ddBoat.getWoodType()); - if(boat instanceof DDChestBoat ddChestBoat) return BOAT_RESOURCES.get(ddChestBoat.getWoodType()); - return BOAT_RESOURCES.get("echo"); + Pair> model = null; + if(boat instanceof DDBoat ddBoat) model = BOAT_RESOURCES.get(ddBoat.getWoodType()); + if(boat instanceof DDChestBoat ddChestBoat) model = BOAT_RESOURCES.get(ddChestBoat.getWoodType()); + return model == null ? BOAT_RESOURCES.get("bloom") : model; } } diff --git a/src/main/java/com/kyanite/deeperdarker/content/entities/SculkLeech.java b/src/main/java/com/kyanite/deeperdarker/content/entities/SculkLeech.java index eb047f9d2..efd54d656 100644 --- a/src/main/java/com/kyanite/deeperdarker/content/entities/SculkLeech.java +++ b/src/main/java/com/kyanite/deeperdarker/content/entities/SculkLeech.java @@ -54,11 +54,6 @@ public boolean doHurtTarget(Entity pEntity) { return super.doHurtTarget(pEntity); } - @Override - public void tick() { - super.tick(); - } - @Override public void handleEntityEvent(byte pId) { if(pId == 4) this.attackState.start(this.tickCount);