1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

MyPlot Fix

Discussion in 'Development' started by DerCooleVonDem, Nov 20, 2020.

  1. DerCooleVonDem

    DerCooleVonDem Spider Jockey

    Messages:
    37
    GitHub:
    Soon
    Hey,

    Have someone an idea how to fix in MyPlot that liquids can go over the Plotborder?
     
  2. BeastBomber23

    BeastBomber23 Silverfish

    Messages:
    24
    GitHub:
    beastbomber23
    Found this code on a realy old forum post

    public function onBlockUpdate(BlockUpdateEvent $event){
    if($event->getBlock() instanceof Lava && $this->getConfig()->get("enable")["spread"]["lava"] === false){
    $event->setCancelled();
    }
    if($event->getBlock() instanceof Water && $this->getConfig()->get("enable")["spread"]["water"] === false){
    $event->setCancelled();
    }
    }
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.