Updating to RB

CraftBukkit #1597 Bukkit #1073
This commit is contained in:
KHobbits 2011-12-12 23:00:21 +00:00
parent 46840a686d
commit f936cd5f27
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.");
}
} }