Closed Roxiun closed 4 years ago
That's probably because Spigot 1.8.8 did not have Particle types yet. You can try to modify mcapi to remove Particle
, FireworkEffect
and the methods using that. (Or see an earlier version in the commit history https://github.com/Macuyiko/minecraft-python/commits/master/ServerPythonInterpreterPlugin/python/mcapi.py
Maybe there could be a version check?
Yep, that's not too bad of an idea. I'd be welcome to PR for that. Preferably, mcapi.py
should import the actual file it needs depending on the detected version.
Alternatively, users on older versions of Spigot should be able to make a mcapi-local.py
copy and modify it accordingly.
When running
from mcapi import *
I get the error:(Running Latest python.jar release on
spigot 1.8.8
)