cleanup: remove unnecessary boxing

This commit is contained in:
P0nk
2021-04-08 07:39:02 +02:00
parent 5c6f515d18
commit 7ff8190977
14 changed files with 150 additions and 151 deletions

View File

@@ -3639,7 +3639,7 @@ public class MaplePacketCreator {
mplew.writeShort(SendOpcode.KEYMAP.getValue());
mplew.write(0);
for (int x = 0; x < 90; x++) {
MapleKeyBinding binding = keybindings.get(Integer.valueOf(x));
MapleKeyBinding binding = keybindings.get(x);
if (binding != null) {
mplew.write(binding.getType());
mplew.writeInt(binding.getAction());