Skip to content

Commit 0129339

Browse files
1.21.2-pre1
1 parent 56dcbc0 commit 0129339

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ val MAVEN_GROUP by extra { "uk.debb" }
1414
val LICENSE by extra { "MPL-2.0" }
1515
val MOD_VERSION by extra { "4.0.2" }
1616

17-
val MINECRAFT_VERSION by extra { "24w40a" }
17+
val MINECRAFT_VERSION by extra { "1.21.2-pre1" }
1818
val MINECRAFT_VERSION_RANGE_FABRIC by extra { ">=1.21" }
1919
val MINECRAFT_VERSION_RANGE_NEOFORGE by extra { "[1.21,1.22)" }
2020
val H2_VERSION by extra { "2.3.232" }

common/src/main/java/uk/debb/vanilla_disable/mixin/feature/enchantment/MixinBlock.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public abstract class MixinBlock {
1919
method = "getDrops(Lnet/minecraft/world/level/block/state/BlockState;Lnet/minecraft/server/level/ServerLevel;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/block/entity/BlockEntity;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/item/ItemStack;)Ljava/util/List;",
2020
at = @At(
2121
value = "INVOKE",
22-
target = "Lnet/minecraft/world/level/storage/loot/LootParams$Builder;withParameter(Lnet/minecraft/world/level/storage/loot/parameters/LootContextParam;Ljava/lang/Object;)Lnet/minecraft/world/level/storage/loot/LootParams$Builder;",
22+
target = "Lnet/minecraft/world/level/storage/loot/LootParams$Builder;withParameter(Lnet/minecraft/util/context/ContextKey;Ljava/lang/Object;)Lnet/minecraft/world/level/storage/loot/LootParams$Builder;",
2323
ordinal = 1
2424
),
2525
index = 1

0 commit comments

Comments
 (0)