Minor code improvements.
This commit is contained in:
@@ -391,16 +391,13 @@ public abstract class AirShipController extends AbstractNpcAI
|
||||
{
|
||||
_log.warning(getName() + ": Fuel consumption not defined.");
|
||||
}
|
||||
else if (_teleportsTable.length != _fuelTable.length)
|
||||
{
|
||||
_log.warning(getName() + ": Fuel consumption not match teleport list.");
|
||||
}
|
||||
else
|
||||
{
|
||||
if (_teleportsTable.length != _fuelTable.length)
|
||||
{
|
||||
_log.warning(getName() + ": Fuel consumption not match teleport list.");
|
||||
}
|
||||
else
|
||||
{
|
||||
AirShipManager.getInstance().registerAirShipTeleportList(_dockZone, _locationId, _teleportsTable, _fuelTable);
|
||||
}
|
||||
AirShipManager.getInstance().registerAirShipTeleportList(_dockZone, _locationId, _teleportsTable, _fuelTable);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user