mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 02:04:44 +02:00
Raised overfishing limit + improved tips
This commit is contained in:
@ -385,7 +385,7 @@ public class PlayerListener implements Listener {
|
||||
{
|
||||
if(fishingManager.isExploitingFishing(event.getHook().getLocation().toVector()))
|
||||
{
|
||||
player.sendMessage(LocaleLoader.getString("Fishing.Scarcity"));
|
||||
player.sendMessage(LocaleLoader.getString("Fishing.ScarcityTip", 3));
|
||||
event.setExpToDrop(0);
|
||||
Item caughtItem = (Item) caught;
|
||||
caughtItem.remove();
|
||||
|
@ -44,7 +44,7 @@ import java.util.*;
|
||||
|
||||
public class FishingManager extends SkillManager {
|
||||
public static final int FISHING_ROD_CAST_CD_MILLISECONDS = 100;
|
||||
public static final int OVERFISH_LIMIT = 4;
|
||||
public static final int OVERFISH_LIMIT = 10;
|
||||
private final long FISHING_COOLDOWN_SECONDS = 1000L;
|
||||
|
||||
private long fishingRodCastTimestamp = 0L;
|
||||
@ -139,7 +139,7 @@ public class FishingManager extends SkillManager {
|
||||
|
||||
if(fishCaughtCounter + 1 == OVERFISH_LIMIT)
|
||||
{
|
||||
getPlayer().sendMessage(LocaleLoader.getString("Fishing.LowResources"));
|
||||
getPlayer().sendMessage(LocaleLoader.getString("Fishing.LowResourcesTip", 3));
|
||||
}
|
||||
|
||||
//If the new bounding box does not intersect with the old one, then update our bounding box reference
|
||||
|
Reference in New Issue
Block a user