Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fish event

Comments in 'Plugin Development' started by Praxthisnovcht, Apr 13, 2015.

  1. Praxthisnovcht
    Offline

    Praxthisnovcht Notable Member Plugin Developer

    Joined:
    Mar 10, 2014
    Posts:
    701
    Plugins:
    4
    Minecraft User:
    PraxHellTag
    hi, everything is in the title ^^

    PHP:
        const ACTION_FISH 4;  # future ?




                
    case self::ACTION_FISH:
                    if (
    $object instanceof Item) {
                        return 
    rand(13); # For HeroesRPG
                    
    } else {
                        return 
    false;
                    }
                default:
                    return 
    false;

Share This Page

Advertisement