Skip to content
Permalink
Browse files

Fix whitespace changes

  • Loading branch information...
Articdive committed Aug 9, 2019
1 parent 082283f commit 0042e586fd5e1ec1565c9cae6f8dd40e4de9f7be
@@ -9,7 +9,7 @@ root = true
[*.java]
end_of_line = crlf
insert_final_newline = false
trim_trailing_whitespace = true
trim_trailing_whitespace = false
charset = utf-8
indent_size = 4
indent_style = tab
@@ -72,10 +72,10 @@

/**
* Towny Plugin for Bukkit
*
*
* Website: http://code.google.com/a/eclipselabs.org/p/towny/ Source:
* http://code.google.com/a/eclipselabs.org/p/towny/source/browse/
*
*
* @author Shade, ElgarL
*/

@@ -121,7 +121,6 @@ public void onEnable() {

/*
* Register bStats Metrics
*
*/
new Metrics(this);

@@ -424,7 +423,7 @@ private void update() {

/**
* Fetch the TownyUniverse instance.
*
*
* @return TownyUniverse
* @deprecated use {@link com.palmergames.bukkit.towny.TownyUniverse#getInstance()}
*/
@@ -515,7 +514,7 @@ public void deleteCache(String name) {
/**
* Fetch the current players cache
* Creates a new one, if one doesn't exist.
*
*
* @param player - Player to get the current cache from.
* @return the current (or new) cache for this player.
*/
@@ -573,7 +572,7 @@ public void updateCache() {

/**
* Resets a specific players cache if their location has changed
*
*
* @param player - Player, whose cache is to be updated.
*/
public void updateCache(Player player) {
@@ -587,7 +586,7 @@ public void updateCache(Player player) {

/**
* Resets a specific players cache
*
*
* @param player - Player, whose cache is to be reset.
*/
public void resetCache(Player player) {
@@ -611,7 +610,7 @@ public void setPlayerMode(Player player, String[] modes, boolean notify) {

/**
* Remove ALL current modes (and set the defaults)
*
*
* @param player - player, whose modes are to be reset (all removed).
*/
public void removePlayerMode(Player player) {
@@ -628,7 +627,7 @@ public void removePlayerMode(Player player) {

/**
* Fetch a list of all the players current modes.
*
*
* @param player - player, whose modes are to be listed, taken.
* @return list of modes
*/
@@ -651,7 +650,7 @@ public void removePlayerMode(Player player) {

/**
* Check if the player has a specific mode.
*
*
* @param player - Player to be checked
* @param mode - Mode to be checked for within player.
* @return true if the mode is present.
@@ -912,7 +912,7 @@ public void reloadTowny(Boolean reset) {

/**
* Remove residents who havn't logged in for X amount of days.
*
*
* @param split - Current command arguments.
*/
public void purge(String[] split) {
@@ -953,7 +953,7 @@ public void purge(String[] split) {
/**
* Delete a resident and it's data file (if not online) Available Only to
* players with the 'towny.admin' permission node.
*
*
* @param player - Player.
* @param split - Current command arguments.
*/
@@ -1096,23 +1096,23 @@ public void parseToggleCommand(String[] split) throws TownyException {
* Coord(key.getX() + 1, key.getZ()), player.getLocation()); Town t3 =
* newTown(plugin.getTownyUniverse(), player.getWorld(), "t3", r3, new
* Coord(key.getX(), key.getZ() + 1), player.getLocation()); Nation n1 =
*
*
* }
*
*
* public void seedTowny() { TownyUniverse townyUniverse =
* plugin.getTownyUniverse(); Random r = new Random(); for (int i = 0; i <
* 1000; i++) {
*
*
* try { townyUniverse.newNation(Integer.toString(r.nextInt())); } catch
* (TownyException e) { } try {
* townyUniverse.newTown(Integer.toString(r.nextInt())); } catch
* (TownyException e) { } try {
* townyUniverse.newResident(Integer.toString(r.nextInt())); } catch
* (TownyException e) { } } }
*
*
* private static double getTotalEconomy() { double total = 0; try { return
* total; } catch (Exception e) { } return total; }
*
*
* private static int getNumBankAccounts() { try { return 0; } catch
* (Exception e) { return 0; } }
*/

0 comments on commit 0042e58

Please sign in to comment.
You can’t perform that action at this time.