From 3c46385c8020d6d7d93cf55095ebb519efcf401b Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Sun, 30 Oct 2016 22:58:35 +0100 Subject: [PATCH] Applied ButtonLib changes IT WORKS! --- src/main/java/buttondevteam/chat/ChatPlayer.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/buttondevteam/chat/ChatPlayer.java b/src/main/java/buttondevteam/chat/ChatPlayer.java index 9225dc9..5c45007 100644 --- a/src/main/java/buttondevteam/chat/ChatPlayer.java +++ b/src/main/java/buttondevteam/chat/ChatPlayer.java @@ -26,11 +26,11 @@ public class ChatPlayer extends TBMCPlayer { } public short getFlairTime() { - return getData(); + return getIntData(Short.class); } private void setFlairTime(short time) { - setData(time); + setIntData(time); } public FlairStates getFlairState() { @@ -42,19 +42,19 @@ public class ChatPlayer extends TBMCPlayer { } public int getFCount() { - return getData(); + return getIntData(Integer.class); } public void setFCount(int count) { - setData(count); + setIntData(count); } public int getFDeaths() { - return getData(); + return getIntData(Integer.class); } public void setFDeaths(int count) { - setData(count); + setIntData(count); } public boolean getFlairCheater() {