Merge remote branch 'upstream/master'

This commit is contained in:
durron597 2011-01-05 08:17:34 -05:00
commit 72c378f1d1
2 changed files with 9 additions and 0 deletions

View File

@ -419,6 +419,7 @@ implements ICommandListener {
PlayerChatEvent event = new PlayerChatEvent(Type.PLAYER_CHAT, player, s);
server.getPluginManager().callEvent(event);
s = (new StringBuilder()).append("<").append(event.getPlayer().getName()).append("> ").append(event.getMessage()).toString();
if (event.isCancelled()) return;
// CraftBukkit stop
a.info(s);

View File

@ -87,6 +87,14 @@ public final class CraftServer implements Server {
return new World[] { console.e.getWorld() };
}
public long getTime() {
return console.e.e;
}
public void setTime(long time) {
console.e.e = time;
}
public ServerConfigurationManager getHandle() {
return server;
}