Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

set block break off in specific world

Comments in 'Plugin Development' started by Driesboy1, Feb 11, 2016.

  1. Driesboy1
    Offline

    Driesboy1 Active Member

    Joined:
    Oct 28, 2015
    Posts:
    102
    Minecraft User:
    Driesboy
    set block break off in specific world
  2. Svile
    Offline

    Svile Active Member

    Joined:
    Mar 30, 2015
    Posts:
    239
    Minecraft User:
    svile
    On BlockBreakEvent:
    PHP:
    if($event->getPlayer()->getLevel()->getName() == 'levelname')
    $event->setCancelled();
  3. Driesboy1
    Offline

    Driesboy1 Active Member

    Joined:
    Oct 28, 2015
    Posts:
    102
    Minecraft User:
    Driesboy

Share This Page

Advertisement