Fix a few typos

This commit is contained in:
NotMyFault 2021-05-11 19:26:39 +02:00
parent 19cea0e129
commit 3a280f3b6a
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
5 changed files with 6 additions and 7 deletions

View File

@ -289,7 +289,7 @@ public class Auto extends SubCommand {
player.sendMessage(
TranslatableCaption.of("schematics.schematic_invalid_named"),
Template.of("schemname", schematic),
Template.of("reason", "non-existant")
Template.of("reason", "non-existent")
);
return true;
}

View File

@ -132,7 +132,7 @@ public class Claim extends SubCommand {
player.sendMessage(
TranslatableCaption.of("schematics.schematic_invalid_named"),
Template.of("schemname", schematic),
Template.of("reason", "non-existant")
Template.of("reason", "non-existent")
);
}
if (!Permissions.hasPermission(player, Permission.PERMISSION_CLAIM_SCHEMATIC

View File

@ -36,7 +36,6 @@ import com.plotsquared.core.configuration.ConfigurationUtil;
import com.plotsquared.core.configuration.Settings;
import com.plotsquared.core.configuration.caption.CaptionUtility;
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.file.YamlConfiguration;
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 <V> The flag type (Any instance of the flag)
* @param <T> flag valye type
* @param <T> flag value type
* @return The flag value
*/
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 <V> The flag type (Any instance of the flag)
* @param <T> flag valye type
* @param <T> flag value type
* @return The flag value
*/
public <T, V extends PlotFlag<T, ?>> T getRoadFlag(final V flag) {

View File

@ -173,7 +173,7 @@ public class PlotUploader {
/**
* 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() {
return success;

View File

@ -251,7 +251,7 @@ public abstract class RegionManager {
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 pos2 position 2