diff --git a/src/main/java/com/nexia/core/mixin/player/PlayerMixin.java b/src/main/java/com/nexia/core/mixin/player/PlayerMixin.java index 6c5fedf9..461cb904 100644 --- a/src/main/java/com/nexia/core/mixin/player/PlayerMixin.java +++ b/src/main/java/com/nexia/core/mixin/player/PlayerMixin.java @@ -123,12 +123,4 @@ private void getAttackDelay(CallbackInfoReturnable cir) { public boolean setSprintFix(boolean par1) { return ((CoreSavedPlayerData)PlayerDataManager.getDataManager(NexiaCore.CORE_DATA_MANAGER).get(this.getUUID()).savedData).isSprintFix(); } - - @Inject(method = "hurt", at = @At("HEAD"), cancellable = true) - public void shieldBlockExplosion(DamageSource damageSource, float f, CallbackInfoReturnable cir) { - if (damageSource.isExplosion() && this.useItem.getItem() == Items.SHIELD) { - this.hurtCurrentlyUsedShield(f); - cir.setReturnValue(false); - } - } }