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

Enchantment.php Help

Comments in 'Plugin Development' started by Muqsit, Apr 16, 2016.

  1. Muqsit
    Offline

    Muqsit Active Member

    Joined:
    Sep 9, 2015
    Posts:
    175
    Minecraft User:
    Muqsit
    How do I remove the line...

    PHP:
    if($enchantment->getId() === Enchantment::TYPE_INVALID){
    $sender->sendMessage(new TranslationContainer("commands.enchant.notFound", [$enchantId]));
    return 
    true;
    }
    in Enchantment.php through a plugin?
  2. Jellyfishcoder
    Offline

    Jellyfishcoder New Member

    Joined:
    Mar 12, 2016
    Posts:
    4
    Im not sure but I made a pull request adding enchantments https://github.com/jellyfishcoder/PocketMine-MP/tree/bowenchant. Im trying to figure out how to compile my master branch into a phar because I put a lot of pulls there and since I know they will take forever to get accepted I want to make a phar myself. It has the pull to update to 0.14.1, fix the missing water bucket, and some other stuff.

Share This Page

Advertisement