cleanup: use bulk operation instead of iteration
This commit is contained in:
@@ -514,9 +514,7 @@ public class MaplePlayerNPC extends AbstractMapleMapObject {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
for (Integer i : updateMapids) {
|
||||
mapids.add(i);
|
||||
}
|
||||
mapids.addAll(updateMapids);
|
||||
|
||||
return mapids;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user