diff --git a/src/main/java/com/nad2040/elytrabombing/ElytraBombingMod.java b/src/main/java/com/nad2040/elytrabombing/ElytraBombingMod.java index b265b27..69b0d08 100644 --- a/src/main/java/com/nad2040/elytrabombing/ElytraBombingMod.java +++ b/src/main/java/com/nad2040/elytrabombing/ElytraBombingMod.java @@ -26,10 +26,6 @@ public class ElytraBombingMod implements ModInitializer { @Override public void onInitialize() { - // This code runs as soon as Minecraft is in a mod-load-ready state. - // However, some things (like resources) may still be uninitialized. - // Proceed with mild caution. - LOGGER.info("Elytra Bombing Mod initialized!"); } diff --git a/src/main/java/com/nad2040/elytrabombing/mixin/ItemMixin.java b/src/main/java/com/nad2040/elytrabombing/mixin/ItemMixin.java index d8c2968..9ef4d26 100644 --- a/src/main/java/com/nad2040/elytrabombing/mixin/ItemMixin.java +++ b/src/main/java/com/nad2040/elytrabombing/mixin/ItemMixin.java @@ -44,7 +44,7 @@ public void use(World world, PlayerEntity user, Hand hand, CallbackInfoReturnabl } user.incrementStat(Stats.USED.getOrCreateStat((FlintAndSteelItem) (Object) this)); cir.setReturnValue(TypedActionResult.success(user.getStackInHand(hand), world.isClient())); - } else if ((usedItemStack.isOf(Items.ANVIL) || usedItemStack.isOf(Items.CHIPPED_ANVIL) || usedItemStack.isOf(Items.DAMAGED_ANVIL)) && otherItemStack.isEmpty()) { + } else if (usedItemStack.isOf(Items.ANVIL) || usedItemStack.isOf(Items.CHIPPED_ANVIL) || usedItemStack.isOf(Items.DAMAGED_ANVIL)) { FallingBlockEntity anvilEntity = new FallingBlockEntity(EntityType.FALLING_BLOCK, world); anvilEntity.timeFalling = 1; // allows anvils to work on 1.18* by avoiding `(this.timeFalling++ == 0)` anvilEntity.setPosition(position);