Added npc check for player fish event, fixes github issue #117.

This commit is contained in:
Ethan 2020-07-28 05:00:32 -04:00
parent e840025e45
commit 3928c688b3

View File

@ -47,6 +47,7 @@ public class FishingListener implements Listener {
* checks for drop tables. if no drop table, just plain vanilla
* fishing OTHERWISE initialize fishing, register other listener.
*/
FishingDropTable table = MMOCore.plugin.fishingManager.calculateDropTable(player);
if (table == null)
return;