diff options
author | snowleo <schneeleo@gmail.com> | 2011-11-20 14:30:54 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-11-20 14:30:54 +0100 |
commit | 1f6b1f4a2cf1d1a2c5c27656d823a3156ec03d62 (patch) | |
tree | 085d177c0820ab75cc09c8fd6862474c6d0d8e9c | |
parent | 765ec51b320b44656419785352eb135c05dc3fa9 (diff) | |
download | Essentials-1f6b1f4a2cf1d1a2c5c27656d823a3156ec03d62.tar Essentials-1f6b1f4a2cf1d1a2c5c27656d823a3156ec03d62.tar.gz Essentials-1f6b1f4a2cf1d1a2c5c27656d823a3156ec03d62.tar.lz Essentials-1f6b1f4a2cf1d1a2c5c27656d823a3156ec03d62.tar.xz Essentials-1f6b1f4a2cf1d1a2c5c27656d823a3156ec03d62.zip |
Added new methods to Fake classes
-rw-r--r-- | Essentials/src/com/earth2me/essentials/OfflinePlayer.java | 7 | ||||
-rw-r--r-- | Essentials/test/com/earth2me/essentials/FakeServer.java | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/OfflinePlayer.java b/Essentials/src/com/earth2me/essentials/OfflinePlayer.java index 229406273..d5706e136 100644 --- a/Essentials/src/com/earth2me/essentials/OfflinePlayer.java +++ b/Essentials/src/com/earth2me/essentials/OfflinePlayer.java @@ -3,6 +3,7 @@ package com.earth2me.essentials; import java.net.InetSocketAddress; import java.util.HashSet; import java.util.List; +import java.util.Map; import java.util.Set; import java.util.UUID; import lombok.Delegate; @@ -777,4 +778,10 @@ public class OfflinePlayer implements Player { throw new UnsupportedOperationException("Not supported yet."); } + + @Override + public int getMaxHealth() + { + throw new UnsupportedOperationException("Not supported yet."); + } } diff --git a/Essentials/test/com/earth2me/essentials/FakeServer.java b/Essentials/test/com/earth2me/essentials/FakeServer.java index 7f3fb9bf2..34e60bed4 100644 --- a/Essentials/test/com/earth2me/essentials/FakeServer.java +++ b/Essentials/test/com/earth2me/essentials/FakeServer.java @@ -580,4 +580,10 @@ public class FakeServer implements Server { throw new UnsupportedOperationException("Not supported yet."); } + + @Override + public String getBukkitVersion() + { + throw new UnsupportedOperationException("Not supported yet."); + } } |