mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-24 00:15:16 +01:00
Added npc check for player fish event, fixes github issue #117.
This commit is contained in:
parent
e840025e45
commit
3928c688b3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user