diff options
author | snowleo <schneeleo@gmail.com> | 2011-09-22 10:39:43 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-09-22 10:39:43 +0200 |
commit | 6ea57bcd2fcae5b83cd8c690f9cb59d4723de30e (patch) | |
tree | 15dabd1581be70fbbd140c4ab974c2d870c562d4 | |
parent | c92c066a3a731fcae54335dcae0126643d661566 (diff) | |
download | Essentials-6ea57bcd2fcae5b83cd8c690f9cb59d4723de30e.tar Essentials-6ea57bcd2fcae5b83cd8c690f9cb59d4723de30e.tar.gz Essentials-6ea57bcd2fcae5b83cd8c690f9cb59d4723de30e.tar.lz Essentials-6ea57bcd2fcae5b83cd8c690f9cb59d4723de30e.tar.xz Essentials-6ea57bcd2fcae5b83cd8c690f9cb59d4723de30e.zip |
New Methods in Player
-rw-r--r-- | Essentials/src/com/earth2me/essentials/OfflinePlayer.java | 12 | ||||
-rw-r--r-- | Essentials/src/com/earth2me/essentials/PlayerWrapper.java | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/OfflinePlayer.java b/Essentials/src/com/earth2me/essentials/OfflinePlayer.java index 199526648..07092d0bb 100644 --- a/Essentials/src/com/earth2me/essentials/OfflinePlayer.java +++ b/Essentials/src/com/earth2me/essentials/OfflinePlayer.java @@ -701,5 +701,17 @@ public class OfflinePlayer implements Player { throw new UnsupportedOperationException("Not supported yet."); } + + @Override + public boolean isSprinting() + { + throw new UnsupportedOperationException("Not supported yet."); + } + + @Override + public void setSprinting(boolean bln) + { + throw new UnsupportedOperationException("Not supported yet."); + } } diff --git a/Essentials/src/com/earth2me/essentials/PlayerWrapper.java b/Essentials/src/com/earth2me/essentials/PlayerWrapper.java index 8876e804a..2b6dd92ad 100644 --- a/Essentials/src/com/earth2me/essentials/PlayerWrapper.java +++ b/Essentials/src/com/earth2me/essentials/PlayerWrapper.java @@ -731,5 +731,17 @@ public class PlayerWrapper implements Player { return base.getBedSpawnLocation(); } + + @Override + public boolean isSprinting() + { + return base.isSprinting(); + } + + @Override + public void setSprinting(boolean bln) + { + base.setSprinting(bln); + } } |