Skip to content

Commit

Permalink
1.7 fix2
Browse files Browse the repository at this point in the history
  • Loading branch information
mizuri-n committed May 7, 2024
1 parent f30a31f commit 60d15f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package mizurin.shieldmod.mixins.achievement;
/*package mizurin.shieldmod.mixins.achievement;
import mizurin.shieldmod.ShieldAchievements;
import mizurin.shieldmod.item.Shields;
Expand All @@ -20,7 +20,7 @@ public class dyeMixin {
@Inject(method = "onPickupFromSlot", at = @At("TAIL"))
private void injectPickup(ItemStack itemStack, CallbackInfo ci){
/*Item item = itemStack.getItem();
Item item = itemStack.getItem();
if(item.id == Shields.woodenShield.id){
thePlayer.triggerAchievement(ShieldAchievements.SHIELD_GOT);
}
Expand All @@ -43,5 +43,6 @@ private void injectPickup(ItemStack itemStack, CallbackInfo ci){
thePlayer.addStat(ShieldAchievements.COLORS, 1);
}
*/}
}
}
*/
3 changes: 1 addition & 2 deletions src/main/resources/shieldmod.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"compatibilityLevel": "JAVA_8",
"mixins": [
"ItemMixin",
"ShieldMixin",
"achievement.dyeMixin"
"ShieldMixin"
],
"client": [
],
Expand Down

0 comments on commit 60d15f8

Please sign in to comment.