mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 13:09:53 +00:00
Fix armor rendering, start armor abilities
This commit is contained in:
1 parent
541a91432c
commit
c13c8f8050
13 files changed
+803
-75
No files matched your search
@@ -34,7 +34,7 @@ public class TPlayerHandler
|
||||
/* Player */
|
||||
// public int hunger;
|
||||
|
||||
public ConcurrentHashMap<UUID, TPlayerStats> playerStats = new ConcurrentHashMap<UUID, TPlayerStats>();
|
||||
private ConcurrentHashMap<UUID, TPlayerStats> playerStats = new ConcurrentHashMap<UUID, TPlayerStats>();
|
||||
|
||||
@SubscribeEvent
|
||||
public void PlayerLoggedInEvent (PlayerLoggedInEvent event)
|
||||
@@ -297,18 +297,5 @@ public class TPlayerHandler
|
||||
}
|
||||
|
||||
Random rand = new Random();
|
||||
|
||||
|
||||
public TPlayerStats getPlayerStats (UUID playerID)
|
||||
{
|
||||
if (FMLCommonHandler.instance().getEffectiveSide() == Side.CLIENT)
|
||||
{
|
||||
return playerStats.get(playerID);
|
||||
}
|
||||
else
|
||||
{
|
||||
return playerStats.get(playerID);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user