summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/OfflinePlayer.java
diff options
context:
space:
mode:
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/OfflinePlayer.java')
-rw-r--r--Essentials/src/com/earth2me/essentials/OfflinePlayer.java64
1 files changed, 56 insertions, 8 deletions
diff --git a/Essentials/src/com/earth2me/essentials/OfflinePlayer.java b/Essentials/src/com/earth2me/essentials/OfflinePlayer.java
index b8790ab00..3e00839e6 100644
--- a/Essentials/src/com/earth2me/essentials/OfflinePlayer.java
+++ b/Essentials/src/com/earth2me/essentials/OfflinePlayer.java
@@ -92,13 +92,13 @@ public class OfflinePlayer implements Player
}
@Override
- public int getHealth()
+ public double getHealth()
{
return 0;
}
@Override
- public void setHealth(int i)
+ public void setHealth(double d)
{
}
@@ -307,13 +307,13 @@ public class OfflinePlayer implements Player
}
@Override
- public void damage(int i)
+ public void damage(double d)
{
throw new UnsupportedOperationException(_("notSupportedYet"));
}
@Override
- public void damage(int i, Entity entity)
+ public void damage(double d, Entity entity)
{
throw new UnsupportedOperationException(_("notSupportedYet"));
}
@@ -349,13 +349,13 @@ public class OfflinePlayer implements Player
}
@Override
- public int getLastDamage()
+ public double getLastDamage()
{
throw new UnsupportedOperationException(_("notSupportedYet"));
}
@Override
- public void setLastDamage(int i)
+ public void setLastDamage(double d)
{
throw new UnsupportedOperationException(_("notSupportedYet"));
}
@@ -762,7 +762,7 @@ public class OfflinePlayer implements Player
}
@Override
- public int getMaxHealth()
+ public double getMaxHealth()
{
throw new UnsupportedOperationException("Not supported yet.");
}
@@ -1161,7 +1161,7 @@ public class OfflinePlayer implements Player
}
@Override
- public void setMaxHealth(int i)
+ public void setMaxHealth(double i)
{
throw new UnsupportedOperationException("Not supported yet.");
}
@@ -1231,4 +1231,52 @@ public class OfflinePlayer implements Player
{
throw new UnsupportedOperationException("Not supported yet.");
}
+
+ @Override
+ public int _INVALID_getLastDamage()
+ {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
+
+ @Override
+ public void _INVALID_setLastDamage(int i)
+ {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
+
+ @Override
+ public void _INVALID_damage(int i)
+ {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
+
+ @Override
+ public void _INVALID_damage(int i, Entity entity)
+ {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
+
+ @Override
+ public int _INVALID_getHealth()
+ {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
+
+ @Override
+ public void _INVALID_setHealth(int i)
+ {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
+
+ @Override
+ public int _INVALID_getMaxHealth()
+ {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
+
+ @Override
+ public void _INVALID_setMaxHealth(int i)
+ {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
}