Reformat and clean up "net" package

This commit is contained in:
P0nk
2021-09-09 23:26:02 +02:00
parent 69f4580637
commit 6be6ea9927
235 changed files with 3556 additions and 3398 deletions

View File

@@ -62,13 +62,15 @@ public final class PetFoodHandler extends AbstractPacketHandler {
}
}
}
Pet pet = chr.getPet(slot);
if(pet == null) return;
if (pet == null) {
return;
}
short pos = p.readShort();
int itemId = p.readInt();
if (c.tryacquireClient()) {
try {
Inventory useInv = chr.getInventory(InventoryType.USE);