Solved getTargetBlock

Discussion in 'Plugin Development' started by Ghilliedrone, Sep 14, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Ghilliedrone

    It says in my code that it is deprecated. Will it still work and if not, what should i use instead
     
  2. Offline

    DarkBladee12

    Ghilliedrone It does still work, but you should surround it with a try & catch, because it throws errors when a player looks in the sky/void and the method is called for that player ;)
     
    Ghilliedrone likes this.
Thread Status:
Not open for further replies.

Share This Page