mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-30 20:48:19 +01:00
Fixed fishing skill not working.
This commit is contained in:
parent
58dc45d344
commit
bda72f28ed
@ -84,7 +84,7 @@ public class mcPlayerListener implements Listener
|
|||||||
{
|
{
|
||||||
if(event.getState() == State.CAUGHT_FISH)
|
if(event.getState() == State.CAUGHT_FISH)
|
||||||
{
|
{
|
||||||
if(event.getCaught() instanceof Item)
|
if(event.getCaught() instanceof org.bukkit.entity.Item)
|
||||||
{
|
{
|
||||||
Fishing.processResults(event);
|
Fishing.processResults(event);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user