TCheckpoint

This commit is contained in:
Gokalp Sen 2025-06-21 23:52:38 +03:00
parent 26daa1e830
commit 9bc57fdcb4
52 changed files with 563 additions and 111 deletions

View file

@ -1,6 +1,5 @@
package org.gsdistance.grimmsServer.Stats;
import com.google.gson.Gson;
import org.bukkit.NamespacedKey;
import org.bukkit.entity.Player;
import org.bukkit.persistence.PersistentDataContainer;
@ -97,7 +96,7 @@ public class PlayerStats {
public Object getStat(String stat) {
PersistentDataType type = Stats.get(stat);
if (!hasExactStat(stat)){
if (!hasExactStat(stat)) {
if (type == INTEGER) {
return 0;
} else if (type == PersistentDataType.DOUBLE) {