Update datasourcecolumns to release, requested changes
This commit is contained in:
@@ -40,7 +40,7 @@ import java.util.List;
|
||||
class InventoryPacketAdapter extends PacketAdapter {
|
||||
|
||||
private static final int PLAYER_INVENTORY = 0;
|
||||
// http://wiki.vg/Inventory#Inventory (0-4 crafting, 5-8 armor, 9-35 main inventory, 36-44 hotbar, 45 offhand)
|
||||
// http://wiki.vg/Inventory#Inventory (0-4 crafting, 5-8 armor, 9-35 main inventory, 36-44 hotbar, 45 off-hand)
|
||||
// +1 because an index starts with 0
|
||||
private static final int CRAFTING_SIZE = 5;
|
||||
private static final int ARMOR_SIZE = 4;
|
||||
@@ -115,8 +115,8 @@ class InventoryPacketAdapter extends PacketAdapter {
|
||||
|
||||
try {
|
||||
protocolManager.sendServerPacket(player, inventoryPacket, false);
|
||||
} catch (Throwable throwable) {
|
||||
logger.logException("Error during sending blank inventory", throwable);
|
||||
} catch (Exception exception) {
|
||||
logger.logException("Error during sending blank inventory", exception);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user