General cleanup (deprecated+whitespace)

This commit is contained in:
Erik Broes 2011-02-02 00:02:08 +01:00
parent cbe32fca80
commit 01988e8f6b
27 changed files with 224 additions and 244 deletions

View File

@ -75,24 +75,6 @@ public interface Server {
*/
public World[] getWorlds();
/**
* Gets the in-game time on the server (in hours*1000)
*
* @return The current time in hours*1000
* @deprecated Use World.getTime
*/
@Deprecated
public long getTime();
/**
* Sets the in-game time on the server (in hours*1000)
*
* @param time The time to set the in-game time to (in hours*1000)
* @deprecated Use World.setTime
*/
@Deprecated
public void setTime(long time);
/**
* Reloads the server, refreshing settings and plugin information
*/

View File

@ -125,8 +125,7 @@ public interface World {
* @param spread a reasonable spread is 12
* @return the arrow entity
*/
public Arrow spawnArrow(Location loc, Vector velocity,
float speed, float spread);
public Arrow spawnArrow(Location loc, Vector velocity, float speed, float spread);
/**
* Spawns a tree at a location.
@ -145,8 +144,7 @@ public interface World {
* @param delegate
* @return whether the tree was created
*/
public boolean generateTree(Location loc, TreeType type,
BlockChangeDelegate delegate);
public boolean generateTree(Location loc, TreeType type, BlockChangeDelegate delegate);
/**
* Spawns a regular passenger minecart.