diff --git a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java index 4a0a357a0..0f4e63059 100644 --- a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java +++ b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java @@ -215,7 +215,7 @@ public boolean regenerate(Region region, Extent extent, RegenOptions options) { if (adapter != null) { return adapter.regenerate(getWorld(), region, extent, options); } else { - throw new UnsupportedOperationException("Missing BukkitImplAdapater for this version."); + throw new UnsupportedOperationException("Missing BukkitImplAdapter for this version."); } } catch (Exception e) { LOGGER.warn("Regeneration via adapter failed.", e); diff --git a/worldedit-core/src/main/java/com/sk89q/util/StringUtil.java b/worldedit-core/src/main/java/com/sk89q/util/StringUtil.java index 870f285d4..3368da705 100644 --- a/worldedit-core/src/main/java/com/sk89q/util/StringUtil.java +++ b/worldedit-core/src/main/java/com/sk89q/util/StringUtil.java @@ -36,7 +36,7 @@ private StringUtil() { /** * Trim a string if it is longer than a certain length. * - * @param str the stirng + * @param str the string * @param len the length to trim to * @return a new string */