Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void update() {
- Session session = null;
- for(Session s : Bootloader.getSessionManager().getSessions()) {
- if(s.getPlayerInstance().getInformation().getId() == id) {
- if(this.badges != null) {
- session.writeMessage(new BadgeUpdateWriter(badges, this.count()));
- }
- }
- }
- if(session == null) {
- logger.error("!!! BadgeComponents Session Was Null In Update() Method!!!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement