diff --git a/build.properties b/build.properties index ca32897..08284b2 100644 --- a/build.properties +++ b/build.properties @@ -12,4 +12,4 @@ forge_version=12.18.1.2064 # simply re-run your setup task after changing the mappings to update your workspace. mcp_mappings=snapshot_20160820 -chisel_version=0.0.6.38 \ No newline at end of file +chisel_version=0.0.6.33 \ No newline at end of file diff --git a/src/main/java/com/github/atomicblom/shearmadness/proxy/CommonProxy.java b/src/main/java/com/github/atomicblom/shearmadness/proxy/CommonProxy.java index b552e78..bd75252 100644 --- a/src/main/java/com/github/atomicblom/shearmadness/proxy/CommonProxy.java +++ b/src/main/java/com/github/atomicblom/shearmadness/proxy/CommonProxy.java @@ -76,6 +76,10 @@ public void onAttack(AttackEntityEvent event) return; } + if (!sheep.hasCapability(CapabilityProvider.CHISELED_SHEEP, null)) { + return; + } + event.setCanceled(true); Chiseling.chiselSheep(sheep, entityPlayer, activeStack);