player.sendMessage("Error: Fishes are not definied for lvl " + lvl + " type " + type + " group " + group + ", report admin please.");
player.endFishing(false);
return;
}
int check = Rnd.get(fishs.size());
FishData fish = fishs.get(check);
if(!GameTimeController.getInstance().isNowNight() && lure.isNightLure())
{
fish.setType(-1);
}
player.setImobilised(true);
player.setFishing(true);
player.setFish(fish);
player.setLure(lure);
player.broadcastUserInfo(true);
player.broadcastPacket(new ExFishingStart(player, fish.getType(), player.getFishLoc(), lure.isNightLure()));
player.sendPacket(Msg.STARTS_FISHING);
player.startLookingForFishTask();
}