diff --git a/src/main/java/net/earthcomputer/clientcommands/mixin/rngevents/ClientLevelMixin.java b/src/main/java/net/earthcomputer/clientcommands/mixin/rngevents/ClientLevelMixin.java index 8e8ae18c..b1fe2f49 100644 --- a/src/main/java/net/earthcomputer/clientcommands/mixin/rngevents/ClientLevelMixin.java +++ b/src/main/java/net/earthcomputer/clientcommands/mixin/rngevents/ClientLevelMixin.java @@ -27,7 +27,7 @@ private void onRemoveEntity(int entityId, Entity.RemovalReason reason, CallbackI if (entity instanceof ExperienceOrb) { LocalPlayer player = Minecraft.getInstance().player; assert player != null; - if (player.getBoundingBox().expandTowards(1.25, 0.75, 1.25).intersects(entity.getBoundingBox())) { + if (player.getBoundingBox().inflate(1.25, 0.75, 1.25).intersects(entity.getBoundingBox())) { PlayerRandCracker.onXpOrb(); if (Arrays.stream(EquipmentSlot.values()).anyMatch(slot -> couldMendingRepair(player.getItemBySlot(slot)))) { PlayerRandCracker.onMending();