diff options
author | md_5 <git@md-5.net> | 2018-01-15 12:53:01 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-01-15 12:53:01 +1100 |
commit | d658cb98a504e8a537ebc3957b08a6e3ac280537 (patch) | |
tree | 4e5dc9fd95eb7bf9a191e6df9dc388fbb6d34fb4 /src | |
parent | 3d79bf2c9555055170d744ae20bb04146edcc304 (diff) | |
download | bukkit-d658cb98a504e8a537ebc3957b08a6e3ac280537.tar bukkit-d658cb98a504e8a537ebc3957b08a6e3ac280537.tar.gz bukkit-d658cb98a504e8a537ebc3957b08a6e3ac280537.tar.lz bukkit-d658cb98a504e8a537ebc3957b08a6e3ac280537.tar.xz bukkit-d658cb98a504e8a537ebc3957b08a6e3ac280537.zip |
Fix some additional documentation typos
Thanks mrfloris
Diffstat (limited to 'src')
13 files changed, 13 insertions, 13 deletions
diff --git a/src/main/java/org/bukkit/advancement/AdvancementProgress.java b/src/main/java/org/bukkit/advancement/AdvancementProgress.java index 61de9842..46b6637d 100644 --- a/src/main/java/org/bukkit/advancement/AdvancementProgress.java +++ b/src/main/java/org/bukkit/advancement/AdvancementProgress.java @@ -41,7 +41,7 @@ public interface AdvancementProgress { boolean revokeCriteria(String criteria); /** - * Get the date the specified critera was awarded. + * Get the date the specified criteria was awarded. * * @param criteria the criteria to check * @return date awarded or null if unawarded or criteria does not exist diff --git a/src/main/java/org/bukkit/command/Command.java b/src/main/java/org/bukkit/command/Command.java index fa985fe9..d00bad28 100644 --- a/src/main/java/org/bukkit/command/Command.java +++ b/src/main/java/org/bukkit/command/Command.java @@ -261,7 +261,7 @@ public abstract class Command { * outstanding changes * * @param commandMap the CommandMap to unregister - * @return true if the unregistration was successfull (the current + * @return true if the unregistration was successful (the current * registered CommandMap was the passed CommandMap or null) false * otherwise */ diff --git a/src/main/java/org/bukkit/entity/EnderDragon.java b/src/main/java/org/bukkit/entity/EnderDragon.java index 9b4b24e3..4ea0e44e 100644 --- a/src/main/java/org/bukkit/entity/EnderDragon.java +++ b/src/main/java/org/bukkit/entity/EnderDragon.java @@ -15,7 +15,7 @@ public interface EnderDragon extends ComplexLivingEntity { */ CIRCLING, /** - * The dragon will fly towards a targetted player and shoot a + * The dragon will fly towards a targeted player and shoot a * fireball when within 64 blocks. */ STRAFING, diff --git a/src/main/java/org/bukkit/entity/Enderman.java b/src/main/java/org/bukkit/entity/Enderman.java index 0b66a923..f537f697 100644 --- a/src/main/java/org/bukkit/entity/Enderman.java +++ b/src/main/java/org/bukkit/entity/Enderman.java @@ -15,7 +15,7 @@ public interface Enderman extends Monster { public MaterialData getCarriedMaterial(); /** - * Set the id and data of the block that the Enderman is carring. + * Set the id and data of the block that the Enderman is carrying. * * @param material data to set the carried block to */ diff --git a/src/main/java/org/bukkit/entity/Entity.java b/src/main/java/org/bukkit/entity/Entity.java index ab64a0c6..9d96976d 100644 --- a/src/main/java/org/bukkit/entity/Entity.java +++ b/src/main/java/org/bukkit/entity/Entity.java @@ -49,7 +49,7 @@ public interface Entity extends Metadatable, CommandSender, Nameable { /** * Gets this entity's current velocity * - * @return Current travelling velocity of this entity + * @return Current traveling velocity of this entity */ public Vector getVelocity(); diff --git a/src/main/java/org/bukkit/event/player/PlayerBucketEvent.java b/src/main/java/org/bukkit/event/player/PlayerBucketEvent.java index e18feff2..56584687 100644 --- a/src/main/java/org/bukkit/event/player/PlayerBucketEvent.java +++ b/src/main/java/org/bukkit/event/player/PlayerBucketEvent.java @@ -55,7 +55,7 @@ public abstract class PlayerBucketEvent extends PlayerEvent implements Cancellab /** * Return the block clicked * - * @return the blicked block + * @return the clicked block */ public Block getBlockClicked() { return blockClicked; diff --git a/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java b/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java index d7f3af7f..6e823f0a 100644 --- a/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java +++ b/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java @@ -57,7 +57,7 @@ public class PlayerTeleportEvent extends PlayerMoveEvent { END_PORTAL, /** * Indicates the teleportation was caused by a player teleporting to a - * Entity/Player via the specatator menu + * Entity/Player via the spectator menu */ SPECTATE, /** diff --git a/src/main/java/org/bukkit/event/server/RemoteServerCommandEvent.java b/src/main/java/org/bukkit/event/server/RemoteServerCommandEvent.java index 2a49237c..80ab4a9a 100644 --- a/src/main/java/org/bukkit/event/server/RemoteServerCommandEvent.java +++ b/src/main/java/org/bukkit/event/server/RemoteServerCommandEvent.java @@ -4,7 +4,7 @@ import org.bukkit.command.CommandSender; import org.bukkit.event.HandlerList; /** - * This event is called when a command is recieved over RCON. See the javadocs + * This event is called when a command is received over RCON. See the javadocs * of {@link ServerCommandEvent} for more information. */ public class RemoteServerCommandEvent extends ServerCommandEvent { diff --git a/src/main/java/org/bukkit/inventory/ItemStack.java b/src/main/java/org/bukkit/inventory/ItemStack.java index 188ae6d7..cd5a91f9 100644 --- a/src/main/java/org/bukkit/inventory/ItemStack.java +++ b/src/main/java/org/bukkit/inventory/ItemStack.java @@ -84,7 +84,7 @@ public class ItemStack implements Cloneable, ConfigurationSerializable { } /** - * An item stack with the specified damage / durabiltiy + * An item stack with the specified damage / durability * * @param type item material * @param amount stack size diff --git a/src/main/java/org/bukkit/material/TexturedMaterial.java b/src/main/java/org/bukkit/material/TexturedMaterial.java index d1b85e2e..93f56643 100644 --- a/src/main/java/org/bukkit/material/TexturedMaterial.java +++ b/src/main/java/org/bukkit/material/TexturedMaterial.java @@ -97,7 +97,7 @@ public abstract class TexturedMaterial extends MaterialData { */ @Deprecated protected void setTextureIndex(int idx) { - setData((byte) idx); // Defult to using all bits - override for other mappings + setData((byte) idx); // Default to using all bits - override for other mappings } @Override diff --git a/src/main/java/org/bukkit/plugin/Plugin.java b/src/main/java/org/bukkit/plugin/Plugin.java index c4e22c62..55debf5d 100644 --- a/src/main/java/org/bukkit/plugin/Plugin.java +++ b/src/main/java/org/bukkit/plugin/Plugin.java @@ -113,7 +113,7 @@ public interface Plugin extends TabExecutor { /** * Called after a plugin is loaded but before it has been enabled. * <p> - * When mulitple plugins are loaded, the onLoad() for all plugins is + * When multiple plugins are loaded, the onLoad() for all plugins is * called before any onEnable() is called. */ public void onLoad(); diff --git a/src/main/java/org/bukkit/scoreboard/Team.java b/src/main/java/org/bukkit/scoreboard/Team.java index 170ae21a..92174e81 100644 --- a/src/main/java/org/bukkit/scoreboard/Team.java +++ b/src/main/java/org/bukkit/scoreboard/Team.java @@ -136,7 +136,7 @@ public interface Team { /** * Gets the team's ability to see name tags * - * @return the current name tag visibilty for the team + * @return the current name tag visibility for the team * @throws IllegalArgumentException if this team has been unregistered * @deprecated see {@link #getOption(org.bukkit.scoreboard.Team.Option)} */ diff --git a/src/main/java/org/bukkit/util/noise/PerlinNoiseGenerator.java b/src/main/java/org/bukkit/util/noise/PerlinNoiseGenerator.java index 5e034c1e..858c3f13 100644 --- a/src/main/java/org/bukkit/util/noise/PerlinNoiseGenerator.java +++ b/src/main/java/org/bukkit/util/noise/PerlinNoiseGenerator.java @@ -6,7 +6,7 @@ import org.bukkit.World; /** * Generates noise using the "classic" perlin generator * - * @see SimplexNoiseGenerator "Improved" and faster version with slighly + * @see SimplexNoiseGenerator "Improved" and faster version with slightly * different results */ public class PerlinNoiseGenerator extends NoiseGenerator { |