исправил некоторые варнинги

This commit is contained in:
ScriptCat 2025-07-23 17:01:12 +03:00
parent 8107dc8675
commit 78f93de50f

View File

@ -5,10 +5,7 @@ import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_6_R3.entity.CraftPlayer;
import org.bukkit.entity.Player;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
public class NBTManager
{
@ -18,8 +15,6 @@ public class NBTManager
NBTTagCompound tag = readNBT(entityPlayer);
if (tag == null){System.out.println("IS NULL!!!");};
tag.setInt("ASOME", 123);
return writeNBT(tag, entityPlayer, path + "/players/" + player.getName() + ".dat");