Skip to content

Commit

Permalink
give output in the fish commands
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Apr 26, 2019
1 parent ab88006 commit 8db18e1
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ public void startFishing(CommandContext args, CommandSender sender, NPC npc) thr
FishingTrait trait = npc.getTrait(FishingTrait.class);

if (trait.isFishing()) {
Messaging.sendError(sender, npc.getName() + " is already fishing!");
Messaging.sendError(sender, npc.getName() + " is already fishing! Use '/npc stopfishing' to stop.");
return;
}

Expand Down Expand Up @@ -540,7 +540,7 @@ else if (args.hasValueFlag("anchor")) {
else {
trait.startFishing();
}

Messaging.send(sender, npc.getName() + " is now fishing.");
}

/*
Expand All @@ -565,6 +565,7 @@ public void stopFishing(CommandContext args, CommandSender sender, NPC npc) thro

trait.stopFishing();
npc.removeTrait(FishingTrait.class);
Messaging.send(sender, npc.getName() + " is no longer fishing.");
}

/*
Expand Down

0 comments on commit 8db18e1

Please sign in to comment.