mapping update, fixed missing target mixins
This commit is contained in:
1 parent
b9964c8da8
commit
286913ebd7
17 files changed
+37
-33
No files matched your search
@@ -13,7 +13,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
|
||||
@Mixin(ShearsItem.class)
|
||||
public class ShearsItem_missingToolsMixin
|
||||
{
|
||||
@Inject(method = "getMiningSpeed", at = @At("HEAD"), cancellable = true)
|
||||
@Inject(method = "getMiningSpeedMultiplier", at = @At("HEAD"), cancellable = true)
|
||||
private void getCustomMaterial(ItemStack itemStack_1, BlockState blockState_1, CallbackInfoReturnable<Float> cir)
|
||||
{
|
||||
if (CarpetSettings.missingTools && (blockState_1.getMaterial() == Material.SPONGE))
|
||||
|
||||
Reference in new issue
Block a user