Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
import com.robertx22.mine_and_slash.saveclasses.spells.SpellSchoolsData;
import com.robertx22.mine_and_slash.uncommon.datasaving.Load;
import com.robertx22.mine_and_slash.uncommon.localization.Words;
import net.minecraft.util.StringRepresentable;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.item.Item;
import net.minecraft.world.item.Items;

public enum PlayerPointsType implements IGUID {
public enum PlayerPointsType implements IGUID, StringRepresentable {
TALENTS() {
@Override
public String GUID() {
Expand Down Expand Up @@ -215,4 +216,9 @@ public int getFreePoints(Player p) {

return free;
}

@Override
public String getSerializedName() {
return this.GUID();
}
}