Skip to content

Commit

Permalink
Update to 25w04a
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Jan 22, 2025
1 parent 8067b3c commit 3198d44
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/wurstclient/commands/GiveCmd.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public void call(String[] args) throws CmdException
if(nbt != null)
try
{
NbtCompound tag = StringNbtReader.parse(nbt);
NbtCompound tag = StringNbtReader.method_67315(nbt);
NbtComponent.set(DataComponentTypes.CUSTOM_DATA, stack, tag);

}catch(CommandSyntaxException e)
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/net/wurstclient/commands/ModifyCmd.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private void add(ItemStack stack, String[] args) throws CmdError

try
{
NbtCompound parsedNbt = StringNbtReader.parse(nbtString);
NbtCompound parsedNbt = StringNbtReader.method_67315(nbtString);
itemNbt.copyFrom(parsedNbt);
stack.set(DataComponentTypes.CUSTOM_DATA, NbtComponent.of(itemNbt));

Expand All @@ -107,7 +107,7 @@ private void set(ItemStack stack, String[] args) throws CmdError

try
{
NbtCompound tag = StringNbtReader.parse(nbt);
NbtCompound tag = StringNbtReader.method_67315(nbt);
stack.set(DataComponentTypes.CUSTOM_DATA, NbtComponent.of(tag));

}catch(CommandSyntaxException e)
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"accessWidener": "wurst.accesswidener",
"depends": {
"fabricloader": ">=0.16.10",
"fabric-api": ">=0.114.4",
"minecraft": "~1.21.5-alpha.25.3.a",
"fabric-api": ">=0.115.1",
"minecraft": "~1.21.5-alpha.25.4.a",
"java": ">=21"
},
"suggests": {
Expand Down

0 comments on commit 3198d44

Please sign in to comment.