Author Topic: [Hyperion] ShooAway [Hyperion]  (Read 243 times)

Offline Alex_Kilroy

  • Adamant Member
  • *
  • Posts: 91
  • Rep 2
  • Java programmer
  • Location: United Kingdom, England.
    • View Profile
Re: [Hyperion] ShooAway [Hyperion]
« on: March 16, 2011, 12:10:46 am »
Theres nothing wrong with the conventions?

Quote
   @Override
   public void handle(final Player player, Packet packet) {//don't worry about it
      int id = packet.getLEShort() & 0xFFFF;//don't worry about it
      System.out.println(id);//don't worry about it
      if(id < 0 || id >= Constants.MAX_NPCS) {//don't worry about it
         return;
      }

should be:

Quote
   @Override
   public void handle(final Player player, Packet packet) {//don't worry about it
      int id = packet.getLEShort() & 0xFFFF;//don't worry about it
                //System.out.println(id);//don't worry about it
      if(id < 0 || id >= Constants.MAX_NPCS) {//don't worry about it
         return;
      }

Cba doing all but you get my drift.
Also you don't need to print the output on everything, thats why I commented it out.
I'm a MEXICAN
#facepalm
My various other names are, Byte3, Kaex and Limbo.
I am now known as Alex_Kilroy.