Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save theresajayne/7c1859ba549845b6903879d036c0d15d to your computer and use it in GitHub Desktop.
Save theresajayne/7c1859ba549845b6903879d036c0d15d to your computer and use it in GitHub Desktop.
05-18 10:08:58 [SEVERE] [Minecraft] Error occurred while enabling APOC-PayDay v3.3 (Is it up to date?)
java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String
at org.apocgaming.payday.entities.Crates.<init>(Crates.java:78)
at org.apocgaming.payday.PayDay.onEnable(PayDay.java:93)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
for(String kitDrop:kit) <-- line 78
{
parseDrop(dropsList,temp,kitDrop);
}
Declaration
List<String> kit = new ArrayList<>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment