There was an error while loading. Please reload this page.
1 parent 526ad40 commit d772a2dCopy full SHA for d772a2d
1 file changed
src/main/java/com/ghostipedia/cosmiccore/common/food/FoodSlotLogic.java
@@ -70,7 +70,7 @@ public static void onFinishUsingItem(LivingEntityUseItemEvent.Finish event) {
70
private static void stripVanillaFoodEffects(ServerPlayer player, ItemStack stack) {
71
FoodProperties props = stack.get(DataComponents.FOOD);
72
if (props == null) return;
73
- //TODO: A PROPER EFFECT DENIAL REGISTRY AT SOME POINT
+ // TODO: A PROPER EFFECT DENIAL REGISTRY AT SOME POINT
74
boolean defined = CosmicFoodRegistry.isDefined(stack.getItem());
75
boolean replacesAbsorption = CosmicFoodRegistry.get(stack).effects().stream()
76
.anyMatch(spec -> spec.effect().is(MobEffects.ABSORPTION));
0 commit comments