Jump to content

getFacing() mathod


PwneRL33T

Recommended Posts

could some one please explain to me how the getFacing() method works?

 

its going to be used for a WC Script but it seems the 'old' way to do this no longer works, i have tried to search the API for this, but had no avail...

 

this is the code i have its for avoiding an ENT

       if ((getFacing() != null) && (getFacing().getName().equals("Oak"))) {
         if (getFacing().nounColour().equals("<col=ffff00>")) {
           map.walk(this.SAFE_AREA);
           this.entAvoid += 1;
         }
       }

Fixed

Edited by PwneRL33T
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...