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

how to check if console is command sender

Comments in 'Plugin Development' started by amiremad, Apr 21, 2016.

  1. amiremad
    Offline

    amiremad Active Member

    Joined:
    Sep 8, 2015
    Posts:
    192
    Minecraft User:
    amir107
    i want my plugin to check if console is the command sender
  2. CookieSteve
    Offline

    CookieSteve Active Member

    Joined:
    Apr 22, 2014
    Posts:
    132
    Minecraft User:
    iStrqfeChris
    if(!$sender instanceof Player)
    KubixQ and CraftYourBukkit like this.

Share This Page

Advertisement