mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-28 12:56:05 +01:00
Fix a few typos
This commit is contained in:
parent
19cea0e129
commit
3a280f3b6a
@ -289,7 +289,7 @@ public class Auto extends SubCommand {
|
|||||||
player.sendMessage(
|
player.sendMessage(
|
||||||
TranslatableCaption.of("schematics.schematic_invalid_named"),
|
TranslatableCaption.of("schematics.schematic_invalid_named"),
|
||||||
Template.of("schemname", schematic),
|
Template.of("schemname", schematic),
|
||||||
Template.of("reason", "non-existant")
|
Template.of("reason", "non-existent")
|
||||||
);
|
);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -132,7 +132,7 @@ public class Claim extends SubCommand {
|
|||||||
player.sendMessage(
|
player.sendMessage(
|
||||||
TranslatableCaption.of("schematics.schematic_invalid_named"),
|
TranslatableCaption.of("schematics.schematic_invalid_named"),
|
||||||
Template.of("schemname", schematic),
|
Template.of("schemname", schematic),
|
||||||
Template.of("reason", "non-existant")
|
Template.of("reason", "non-existent")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (!Permissions.hasPermission(player, Permission.PERMISSION_CLAIM_SCHEMATIC
|
if (!Permissions.hasPermission(player, Permission.PERMISSION_CLAIM_SCHEMATIC
|
||||||
|
@ -36,7 +36,6 @@ import com.plotsquared.core.configuration.ConfigurationUtil;
|
|||||||
import com.plotsquared.core.configuration.Settings;
|
import com.plotsquared.core.configuration.Settings;
|
||||||
import com.plotsquared.core.configuration.caption.CaptionUtility;
|
import com.plotsquared.core.configuration.caption.CaptionUtility;
|
||||||
import com.plotsquared.core.configuration.caption.LocaleHolder;
|
import com.plotsquared.core.configuration.caption.LocaleHolder;
|
||||||
import com.plotsquared.core.configuration.caption.StaticCaption;
|
|
||||||
import com.plotsquared.core.configuration.caption.TranslatableCaption;
|
import com.plotsquared.core.configuration.caption.TranslatableCaption;
|
||||||
import com.plotsquared.core.configuration.file.YamlConfiguration;
|
import com.plotsquared.core.configuration.file.YamlConfiguration;
|
||||||
import com.plotsquared.core.generator.GridPlotWorld;
|
import com.plotsquared.core.generator.GridPlotWorld;
|
||||||
@ -1195,7 +1194,7 @@ public abstract class PlotArea {
|
|||||||
*
|
*
|
||||||
* @param flag The flag type (Any instance of the flag)
|
* @param flag The flag type (Any instance of the flag)
|
||||||
* @param <V> The flag type (Any instance of the flag)
|
* @param <V> The flag type (Any instance of the flag)
|
||||||
* @param <T> flag valye type
|
* @param <T> flag value type
|
||||||
* @return The flag value
|
* @return The flag value
|
||||||
*/
|
*/
|
||||||
public <T, V extends PlotFlag<T, ?>> T getFlag(final V flag) {
|
public <T, V extends PlotFlag<T, ?>> T getFlag(final V flag) {
|
||||||
@ -1222,7 +1221,7 @@ public abstract class PlotArea {
|
|||||||
*
|
*
|
||||||
* @param flag The flag type (Any instance of the flag)
|
* @param flag The flag type (Any instance of the flag)
|
||||||
* @param <V> The flag type (Any instance of the flag)
|
* @param <V> The flag type (Any instance of the flag)
|
||||||
* @param <T> flag valye type
|
* @param <T> flag value type
|
||||||
* @return The flag value
|
* @return The flag value
|
||||||
*/
|
*/
|
||||||
public <T, V extends PlotFlag<T, ?>> T getRoadFlag(final V flag) {
|
public <T, V extends PlotFlag<T, ?>> T getRoadFlag(final V flag) {
|
||||||
|
@ -173,7 +173,7 @@ public class PlotUploader {
|
|||||||
/**
|
/**
|
||||||
* Get whether this result is a success.
|
* Get whether this result is a success.
|
||||||
*
|
*
|
||||||
* @return {@code true} if this is a sucessful result, {@code false} otherwise.
|
* @return {@code true} if this is a successful result, {@code false} otherwise.
|
||||||
*/
|
*/
|
||||||
public boolean isSuccess() {
|
public boolean isSuccess() {
|
||||||
return success;
|
return success;
|
||||||
|
@ -251,7 +251,7 @@ public abstract class RegionManager {
|
|||||||
public abstract void clearAllEntities(Location pos1, Location pos2);
|
public abstract void clearAllEntities(Location pos1, Location pos2);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Swap two regions withn the same world
|
* Swap two regions within the same world
|
||||||
*
|
*
|
||||||
* @param pos1 position 1
|
* @param pos1 position 1
|
||||||
* @param pos2 position 2
|
* @param pos2 position 2
|
||||||
|
Loading…
Reference in New Issue
Block a user