mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-09 20:41:23 +01:00
Throw error when using /more on full stack
This commit is contained in:
parent
7b997634ef
commit
bbc306970f
@ -25,7 +25,7 @@ public class Commandmore extends EssentialsCommand
|
||||
if (stack.getAmount() >= ((user.isAuthorized("essentials.oversizedstacks"))
|
||||
? ess.getSettings().getOversizedStackSize() : stack.getMaxStackSize()))
|
||||
{
|
||||
throw new NoChargeException();
|
||||
throw new Exception(_("fullStack"));
|
||||
}
|
||||
final String itemname = stack.getType().toString().toLowerCase(Locale.ENGLISH).replace("_", "");
|
||||
if (ess.getSettings().permissionBasedItemSpawn()
|
||||
|
@ -465,3 +465,4 @@ userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this s
|
||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||
kitOnce=\u00a74You can't use that kit again.
|
||||
fullStack=\u00a74You already have a full stack
|
||||
|
@ -468,3 +468,4 @@ userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this s
|
||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||
kitOnce=\u00a74You can't use that kit again.
|
||||
fullStack=\u00a74You already have a full stack
|
||||
|
@ -465,3 +465,4 @@ userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this s
|
||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||
kitOnce=\u00a74You can't use that kit again.
|
||||
fullStack=\u00a74You already have a full stack
|
||||
|
@ -465,3 +465,4 @@ userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this s
|
||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||
kitOnce=\u00a74You can't use that kit again.
|
||||
fullStack=\u00a74You already have a full stack
|
||||
|
@ -465,3 +465,4 @@ userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this s
|
||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||
kitOnce=\u00a74You can't use that kit again.
|
||||
fullStack=\u00a74You already have a full stack
|
||||
|
@ -465,3 +465,4 @@ userUnknown=\u00a74Peligro: El jugador '\u00a7c{0}\u00a74' Nunca a ingresado a e
|
||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||
kitOnce=\u00a74You can't use that kit again.
|
||||
fullStack=\u00a74You already have a full stack
|
||||
|
@ -465,3 +465,4 @@ userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this s
|
||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||
kitOnce=\u00a74You can't use that kit again.
|
||||
fullStack=\u00a74You already have a full stack
|
||||
|
@ -465,3 +465,4 @@ userUnknown=\u00a74Attention : Le joueur '\u00a7c{0}\u00a74' n'est jamais venu s
|
||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||
kitOnce=\u00a74You can't use that kit again.
|
||||
fullStack=\u00a74You already have a full stack
|
||||
|
@ -465,3 +465,4 @@ userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this s
|
||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||
kitOnce=\u00a74You can't use that kit again.
|
||||
fullStack=\u00a74You already have a full stack
|
||||
|
@ -465,3 +465,4 @@ userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this s
|
||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||
kitOnce=\u00a74You can't use that kit again.
|
||||
fullStack=\u00a74You already have a full stack
|
||||
|
@ -465,3 +465,4 @@ userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this s
|
||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||
kitOnce=\u00a74You can't use that kit again.
|
||||
fullStack=\u00a74You already have a full stack
|
||||
|
@ -465,3 +465,4 @@ userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this s
|
||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||
kitOnce=\u00a74You can't use that kit again.
|
||||
fullStack=\u00a74You already have a full stack
|
||||
|
@ -465,3 +465,4 @@ userUnknown=\u00a74Warning: The user '\u00a7c{0}\u00a74' has never joined this s
|
||||
teleportationEnabledFor=\u00a76Teleportation enabled for {0}
|
||||
teleportationDisabledFor=\u00a76Teleportation disabled for {0}
|
||||
kitOnce=\u00a74You can't use that kit again.
|
||||
fullStack=\u00a74You already have a full stack
|
||||
|
Loading…
Reference in New Issue
Block a user