[FORMATTED] Zone Creating Plugin, similar to that of "EpicZones"

Discussion in 'Archived: Plugin Requests' started by bounceraff, Aug 4, 2013.

  1. Offline

    Garris0n


    Code:java
    1. public EpicZoneFire(String value)
    2. {
    3.  
    4. String[] split = null;
    5. if (value.contains(":"))
    6. {
    7. split = value.split(":");
    8. } else if (value.contains(" "))
    9. {
    10. split = value.split(" ");
    11. }
    12.  
    13. if (split != null)
    14. {
    15. if (split.length > 0)
    16. {
    17. this.ignite = Boolean.valueOf(split[0]);
    18. }
    19. if (split.length > 1)
    20. {
    21. this.spread = Boolean.valueOf(split[1]);
    22. }
    23. }
    24. }
    25.  

    There's actually no comma(I misread), but still no idea what might be wrong other than that.
     
  2. Offline

    bounceraff

    Anyone else in the Bukkit community that could help with this?
     
  3. Offline

    bounceraff

  4. Offline

    bounceraff

  5. Offline

    Maximvdw

    wouldn't the best way be something that is build into a logger plugin :p.. see if anyone has buid killed or destroyed in a chunk and just regenerate it
     

Share This Page