1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-12 09:35:26 +02:00

Updating to RB

CraftBukkit #1597 Bukkit #1073
This commit is contained in:
KHobbits
2011-12-12 23:00:21 +00:00
parent c0ecb0221d
commit 3fe1ec9beb
3 changed files with 38 additions and 0 deletions

View File

@@ -816,4 +816,10 @@ public class OfflinePlayer implements Player
{ {
throw new UnsupportedOperationException("Not supported yet."); throw new UnsupportedOperationException("Not supported yet.");
} }
@Override
public Player getKiller()
{
throw new UnsupportedOperationException("Not supported yet.");
}
} }

View File

@@ -35,6 +35,14 @@ public class Commandtree extends EssentialsCommand
{ {
tree = TreeType.TREE; tree = TreeType.TREE;
} }
else if (args[0].equalsIgnoreCase("redmushroom"))
{
tree = TreeType.RED_MUSHROOM;
}
else if (args[0].equalsIgnoreCase("brownmushroom"))
{
tree = TreeType.BROWN_MUSHROOM;
}
else else
{ {
throw new NotEnoughArgumentsException(); throw new NotEnoughArgumentsException();

View File

@@ -531,6 +531,24 @@ public class FakeServer implements Server
{ {
throw new UnsupportedOperationException("Not supported yet."); 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."); throw new UnsupportedOperationException("Not supported yet.");
} }
@Override
public boolean getAllowEnd()
{
throw new UnsupportedOperationException("Not supported yet.");
}
} }