LegendOfMCPE / EssentialsPE

Port of Bukkit Essentials for @PocketMine Servers (Moved to @poggit-orphanage)
GNU General Public License v3.0
99 stars 21 forks source link

"Effect duration must be in range of 0-2147483647" Error when running /v or /vanish #408

Closed ggomezz closed 7 years ago

ggomezz commented 7 years ago

Description

I was searching for a build of this plugin that supported 3.0.0-ALPHA5. I searched the forums and found a thread that referred me to the link listed below under "EssentialsPE Version:". I proceeded to download the zip file and convert it to a .phar file using "http://pmt.mcpe.fun/". I stopped my server, put the .phar into the plugins folder and initiated the server. I then joined the game and attempted to run the command "/v". I received the error described below so I tried "/vanish" and yet again received the same error. I deleted the .phar file and decided to extract the zip and put it into the plugins folder in order to run it by source code. After starting the server back up and joining I ran the command "/v" and "/vanish" getting the exact same error. Basically I just want the /vanish command to work. Please tell me if you need more information that I did not list.

Versions

Crashdump or console errors

Message for player: "An unknown error occurred while attempting to perform this command" Console: [21:39:13] [Server thread/CRITICAL]: Unhandled exception executing command 'v' in vanish: Effect duration must be in range of 0 - 2147483647 [21:39:13] [Server thread/CRITICAL]: InvalidArgumentException: "Effect duration must be in range of 0 - 2147483647" (EXCEPTION) in "/src/pocketmine/entity/Effect" at line 179