if (!textFieldPriority.getText().isEmpty())
{
try
{
int priority = Integer.valueOf(textFieldPriority.getText());
PacketDispatcher.sendPacketToServer(new PacketBusFluidStorage(world, tileentity.xCoord, tileentity.yCoord, tileentity.zCoord, priority).makePacket());
} catch (NumberFormatException e)
{
}
}