Set vines block in the air

Discussion in 'Plugin Development' started by PDKnight, Apr 11, 2015.

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

    PDKnight

    Hi there,
    today I want to ask you, how to set Material.VINE in the air with bukkit plugin? I've tried:
    Code:java
    1. l.getBlock().setType(Material.VINE);
    or
    Code:java
    1. Vine v = new Vine();
    2. BlockFace blfe = l.getBlock().getFace(l.getBlock()).EAST;
    3. v.putOnFace(blfe);
    but nothing happened. What I'm doing wrong?

    Thanks in advance.
     
  2. Offline

    Slash9211

    Well, you could just do it in game to the map. All you have to do is ./stoplag delete the block behind it then ./stoplag -c I believe.
     
  3. Offline

    PDKnight

    @Slash9211 Which plugin has /stoplag command?
     
  4. Offline

    Slash9211

    Its vanilla minecraft I believe, either that or bukkit it self has it.
     
  5. Offline

    PDKnight

  6. Offline

    Slash9211

    hm, I'll try to figure it out and let you know soon
     
  7. Offline

    Orion31

    If you have essentials, then try /haltactivity and then to allow intensive activity do /haltactivity -c
     
  8. Offline

    FisheyLP

    stoplag is from worldguard.
    But its better to use some block update events (I don't know the exact name atm) because stoplag kills all entities, stops redstone clocks and much more.
     
Thread Status:
Not open for further replies.

Share This Page