Skip to content

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Emirlol committed May 13, 2024
1 parent dbf1300 commit e656489
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ private static void handleFoundEgg(ArmorStandEntity entity, EggType eggType) {
eggType.egg.setValue(new Egg(entity, new Waypoint(entity.getBlockPos().up(2), SkyblockerConfigManager.get().helpers.chocolateFactory.waypointType, ColorUtils.getFloatComponents(eggType.color))));

if (!SkyblockerConfigManager.get().helpers.chocolateFactory.sendEggFoundMessages) return;
MinecraftClient.getInstance().player.sendMessage(Constants.PREFIX.get().append("Found a ").append(Text.literal("Chocolate " + eggType + " Egg").withColor(eggType.color)).append(" at " + entity.getBlockPos().up(2).toShortString() + "!"));
MinecraftClient.getInstance().player.sendMessage(Constants.PREFIX.get()
.append("Found a ")
.append(Text.literal("Chocolate " + eggType + " Egg")
.withColor(eggType.color))
.append(" at " + entity.getBlockPos().up(2).toShortString() + "!"));
}

private static void renderWaypoints(WorldRenderContext context) {
Expand Down

0 comments on commit e656489

Please sign in to comment.