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

Solved Level Class Not Implementing Correctly

Comments in 'Plugin Development' started by jasonwynn10, Jan 30, 2016.

  1. jasonwynn10
    Offline

    jasonwynn10 Active Member

    Joined:
    Dec 20, 2015
    Posts:
    87
    Minecraft User:
    jasonwynn10
    Recently, I have developed an AFK plugin that utilizes the Level Class' checkTime function. Every time i try to load the plugin, it gives me this error:

    Fatal error: Call to undefined method AFK\Main::checkTime() in C:\Users\jasonwynn10\Downloads\PocketMine-MP\plugins\AFK\src\AFK\AFKTimeout.php on line 29

    I have the project on github under issue #10 here: https://github.com/jasonwynn10/AFK
    Please help, I have tried three methods to solve it, none have worked.
  2. Legoboy0215
    Offline

    Legoboy0215 Notable Member

    Joined:
    Nov 1, 2014
    Posts:
    1,724
    Minecraft User:
    Legoboy0215
    Update your github. There is no checkTime function.
    Vaivez66 likes this.
  3. jasonwynn10
    Offline

    jasonwynn10 Active Member

    Joined:
    Dec 20, 2015
    Posts:
    87
    Minecraft User:
    jasonwynn10
  4. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    PocketKiller and AndrewBit like this.
  5. jasonwynn10
    Offline

    jasonwynn10 Active Member

    Joined:
    Dec 20, 2015
    Posts:
    87
    Minecraft User:
    jasonwynn10
  6. jasonwynn10
    Offline

    jasonwynn10 Active Member

    Joined:
    Dec 20, 2015
    Posts:
    87
    Minecraft User:
    jasonwynn10
    Never mind, I used another method to do what I wanted.

Share This Page

Advertisement