mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Fixed ArrayIndexOutOfBounds error
This commit is contained in:
parent
0e85b4776a
commit
71b20bdeaa
@ -15,6 +15,7 @@ Version 1.3.10-dev
|
|||||||
= Fixed players never being removed from memory (memory leak)
|
= Fixed players never being removed from memory (memory leak)
|
||||||
= Fixed admin chat being seen by everyone
|
= Fixed admin chat being seen by everyone
|
||||||
= Fixed issue with UTFDataFormatException occurring on occasion when trying to load Chunklets
|
= Fixed issue with UTFDataFormatException occurring on occasion when trying to load Chunklets
|
||||||
|
= Fixed ArrayIndexOutOfBounds error caused when trying to use /xplock after logging in but before gaining XP
|
||||||
|
|
||||||
Version 1.3.09
|
Version 1.3.09
|
||||||
+ Added compatibility with AntiCheat (Which I highly recommend to prevent cheating)
|
+ Added compatibility with AntiCheat (Which I highly recommend to prevent cheating)
|
||||||
|
@ -52,6 +52,10 @@ public class XplockCommand implements CommandExecutor {
|
|||||||
player.sendMessage(LocaleLoader.getString("Commands.xplock.locked", new Object[] { Misc.getCapitalized(lastGained.toString()) }));
|
player.sendMessage(LocaleLoader.getString("Commands.xplock.locked", new Object[] { Misc.getCapitalized(lastGained.toString()) }));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
player.sendMessage(usage);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
if (Skills.isSkill(args[0])) {
|
if (Skills.isSkill(args[0])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user