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

using nbt tags in plugins main.php

Discussion in 'Facepalm' started by MC ATECH, Jun 12, 2017.

  1. MC ATECH

    MC ATECH Baby Zombie

    Messages:
    117
    GitHub:
    mcpeatech
    Hello, just a quick question but recently when i start up my server it crashes when loading a plugin which uses a nbt tag (float). Why does this occur and is it replaceable/fixable?
    Here is the crash (if helpful):
    PHP:
    Fatal errorCannot use pocketmine\nbt\tag\Float as Float because 'Float' is a special class name in C:\Users\test\Desktop\test\plugins\SlapIt-master\src\slapit\entity\SlappableHuman.php on line 14
     
  2. Intyre

    Intyre Administrator Staff Member PMMP Team

    Messages:
    81
    GitHub:
    Intyre
  3. MC ATECH

    MC ATECH Baby Zombie

    Messages:
    117
    GitHub:
    mcpeatech
    Im unsure as to what your getting at?
     
  4. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Because that plugin is for an old API. Why did you try to make it load at all?
     
  5. MC ATECH

    MC ATECH Baby Zombie

    Messages:
    117
    GitHub:
    mcpeatech
    completely forgot and it was just when I restarted my server after adding the new phar
     
  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.