Proper Reformating

This commit is contained in:
Kam committed 2025-03-13 17:14:45 -04:00
1 parent ce75880aba
commit 180d257024
1179 files changed
+59847 -61583

No files matched your search

@@ -8,20 +8,21 @@ import noppes.npcs.compat.PixelmonHelper;
import noppes.npcs.scripted.entity.ScriptPixelmon;
public class ScriptPixelmonPlayerData implements IPixelmonPlayerData {
private EntityPlayerMP player;
public ScriptPixelmonPlayerData(EntityPlayerMP player){
this.player = player;
}
public ScriptPixelmon getPartySlot(int slot){
NBTTagCompound compound = PixelmonHelper.getPartySlot(slot, player);
if(compound == null)
return null;
EntityTameable pixelmon = PixelmonHelper.pixelmonFromNBT(compound, player);
return new ScriptPixelmon(pixelmon, compound);
}
public int countPCPixelmon(){
return PixelmonHelper.countPCPixelmon(player);
}
private EntityPlayerMP player;
public ScriptPixelmonPlayerData(EntityPlayerMP player) {
this.player = player;
}
public ScriptPixelmon getPartySlot(int slot) {
NBTTagCompound compound = PixelmonHelper.getPartySlot(slot, player);
if (compound == null)
return null;
EntityTameable pixelmon = PixelmonHelper.pixelmonFromNBT(compound, player);
return new ScriptPixelmon(pixelmon, compound);
}
public int countPCPixelmon() {
return PixelmonHelper.countPCPixelmon(player);
}
}