forked from Upstream/mmocore
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
|
* checks for drop tables. if no drop table, just plain vanilla
|
||||||
* fishing OTHERWISE initialize fishing, register other listener.
|
* fishing OTHERWISE initialize fishing, register other listener.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
FishingDropTable table = MMOCore.plugin.fishingManager.calculateDropTable(player);
|
FishingDropTable table = MMOCore.plugin.fishingManager.calculateDropTable(player);
|
||||||
if (table == null)
|
if (table == null)
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user