Replacements for using minimal and maximal words.

This commit is contained in:
MobiusDevelopment
2022-04-25 22:59:05 +00:00
parent 1dabf3a944
commit f8661a336e
247 changed files with 547 additions and 547 deletions

View File

@@ -200,7 +200,7 @@ public class SellBuff implements IVoicedCommandHandler, IBypassHandler
}
catch (NumberFormatException e)
{
player.sendMessage("Too big price! Maximal price is " + Config.SELLBUFF_MAX_PRICE);
player.sendMessage("Too big price! Maximum price is " + Config.SELLBUFF_MAX_PRICE);
SellBuffsManager.getInstance().sendBuffEditMenu(player);
}
}
@@ -281,7 +281,7 @@ public class SellBuff implements IVoicedCommandHandler, IBypassHandler
}
catch (NumberFormatException e)
{
player.sendMessage("Too big price! Maximal price is " + Config.SELLBUFF_MIN_PRICE);
player.sendMessage("Too big price! Maximum price is " + Config.SELLBUFF_MIN_PRICE);
SellBuffsManager.getInstance().sendBuffEditMenu(player);
}
}
@@ -298,12 +298,12 @@ public class SellBuff implements IVoicedCommandHandler, IBypassHandler
}
else if (price < Config.SELLBUFF_MIN_PRICE)
{
player.sendMessage("Too small price! Minimal price is " + Config.SELLBUFF_MIN_PRICE);
player.sendMessage("Too small price! Minimum price is " + Config.SELLBUFF_MIN_PRICE);
return false;
}
else if (price > Config.SELLBUFF_MAX_PRICE)
{
player.sendMessage("Too big price! Maximal price is " + Config.SELLBUFF_MAX_PRICE);
player.sendMessage("Too big price! Maximum price is " + Config.SELLBUFF_MAX_PRICE);
return false;
}
else if (player.getSellingBuffs().size() >= Config.SELLBUFF_MAX_BUFFS)