[Fix] onBreak for Elytra was not initialized with default behaviour

This commit is contained in:
Frank 2022-07-21 14:03:39 +02:00
parent e31226ae49
commit 97dc53e4d9

View file

@ -14,5 +14,6 @@ public class BCLElytraUtils {
}
public static SlotProvider slotProvider = null;
public static BiConsumer<LivingEntity, ItemStack> onBreak = null;
public static BiConsumer<LivingEntity, ItemStack> onBreak =
(entity, chestStack) -> entity.broadcastBreakEvent(EquipmentSlot.CHEST);
}