mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Fixed ArrayIndexOutOfBounds error
This commit is contained in:
parent
0e85b4776a
commit
71b20bdeaa
@ -14,7 +14,8 @@ Version 1.3.10-dev
|
||||
+ Added 50% & 150% XP boost perks
|
||||
= Fixed players never being removed from memory (memory leak)
|
||||
= 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
|
||||
+ 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()) }));
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
player.sendMessage(usage);
|
||||
return true;
|
||||
}
|
||||
|
||||
case 1:
|
||||
if (Skills.isSkill(args[0])) {
|
||||
|
Loading…
Reference in New Issue
Block a user