Acacia and Dark Oak logs

Discussion in 'Plugin Development' started by Scullyking, Jul 19, 2014.

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

    Scullyking

    How are people casting these logs to trees? I'm getting ClassCast error. It's probably not the code since it works for all other logs.
     
  2. Offline

    Necrodoom

    What are you trying to cast and why? Paste full class and error please.
     
  3. Offline

    Scullyking

    Necrodoom

    Code
    Error - ClassCastException (ln 61)

    Trying to cast log to tree in order to get the TreeSpecies. Error only occurs on acacia and dark oak logs.
     
Thread Status:
Not open for further replies.

Share This Page