修复PerkTag获取问题
This commit is contained in:
parent
6a715f7721
commit
1173022f82
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ public class PerkHelper {
|
|||
|
||||
var tagPerk = tag.getCompound(TAG_PERK);
|
||||
if (!tagPerk.contains(type.getName())) return new CompoundTag();
|
||||
return tag.getCompound(type.getName());
|
||||
return tagPerk.getCompound(type.getName());
|
||||
}
|
||||
|
||||
public static void setPerk(ItemStack stack, Perk perk, int level) {
|
||||
|
|
Loading…
Add table
Reference in a new issue