Python-Plugin-Loader icon indicating copy to clipboard operation
Python-Plugin-Loader copied to clipboard

Latest bukkit version breaks the plugin

Open jomo opened this issue 11 years ago • 3 comments

Commit CraftBukkit/Bukkit 543b253dd8 changes depend, softDepend and loadBefore to use EmptyImmutableList, SingletonImmutableList or RegularImmutableList which cannot be cast to ArrayList.

This causes python loader to break.

jomo avatar Mar 16 '14 00:03 jomo

which version? its working for me on a 1.7.2 spigot build

i have noticed it takes a longer time to load though, not sure whats causing it

intangir avatar Apr 05 '14 06:04 intangir

I guess you're using a stable build? Try the latest dev

jomo avatar Apr 06 '14 00:04 jomo

Why is this being cast anyway? There doesn't look to be any code that requires an ArrayList, you should really just be using List<String> depend;

EDIT: Which, to be clear, would fix this problem. (Though you should also probably do the same "replace space with underscore" thing Bukkit is now doing)

nightpool avatar Apr 14 '14 22:04 nightpool