diff options
author | KHobbits <rob@khobbits.co.uk> | 2011-12-12 23:00:21 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2011-12-12 23:00:21 +0000 |
commit | d9057f3e666985f3e7f9f9128be63001ec916b0b (patch) | |
tree | 2922624fe657fb861e9bd106cc61acb4f59a95db | |
parent | b670dde058b8e89fb01acfff5fdd4b83ddeab12d (diff) | |
download | Essentials-d9057f3e666985f3e7f9f9128be63001ec916b0b.tar Essentials-d9057f3e666985f3e7f9f9128be63001ec916b0b.tar.gz Essentials-d9057f3e666985f3e7f9f9128be63001ec916b0b.tar.lz Essentials-d9057f3e666985f3e7f9f9128be63001ec916b0b.tar.xz Essentials-d9057f3e666985f3e7f9f9128be63001ec916b0b.zip |
Updating to RB
CraftBukkit #1597 Bukkit #1073
3 files changed, 38 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/OfflinePlayer.java b/Essentials/src/com/earth2me/essentials/OfflinePlayer.java index 45359a837..e05a07576 100644 --- a/Essentials/src/com/earth2me/essentials/OfflinePlayer.java +++ b/Essentials/src/com/earth2me/essentials/OfflinePlayer.java @@ -816,4 +816,10 @@ public class OfflinePlayer implements Player { throw new UnsupportedOperationException("Not supported yet."); } + + @Override + public Player getKiller() + { + throw new UnsupportedOperationException("Not supported yet."); + } } diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtree.java b/Essentials/src/com/earth2me/essentials/commands/Commandtree.java index 538611972..20cc9d46f 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandtree.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandtree.java @@ -35,6 +35,14 @@ public class Commandtree extends EssentialsCommand { tree = TreeType.TREE; } + else if (args[0].equalsIgnoreCase("redmushroom")) + { + tree = TreeType.RED_MUSHROOM; + } + else if (args[0].equalsIgnoreCase("brownmushroom")) + { + tree = TreeType.BROWN_MUSHROOM; + } else { throw new NotEnoughArgumentsException(); diff --git a/Essentials/test/com/earth2me/essentials/FakeServer.java b/Essentials/test/com/earth2me/essentials/FakeServer.java index d0fe51c9a..306f0d6a1 100644 --- a/Essentials/test/com/earth2me/essentials/FakeServer.java +++ b/Essentials/test/com/earth2me/essentials/FakeServer.java @@ -531,6 +531,24 @@ public class FakeServer implements Server { throw new UnsupportedOperationException("Not supported yet."); } + + @Override + public long getFirstPlayed() + { + throw new UnsupportedOperationException("Not supported yet."); + } + + @Override + public long getLastPlayed() + { + throw new UnsupportedOperationException("Not supported yet."); + } + + @Override + public boolean hasPlayedBefore() + { + throw new UnsupportedOperationException("Not supported yet."); + } }; } @@ -599,4 +617,10 @@ public class FakeServer implements Server { throw new UnsupportedOperationException("Not supported yet."); } + + @Override + public boolean getAllowEnd() + { + throw new UnsupportedOperationException("Not supported yet."); + } } |