Skip to content

Instantly share code, notes, and snippets.

org.bukkit.command.CommandException: Unhandled exception executing command 'apd' in plugin APOC-PayDay v3.3.1a
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[PluginCommand.class:1.7.10-1614.57]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) ~[SimpleCommandMap.class:1.7.10-1614.57]
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:740) ~[CraftServer.class:1.7.10-1614.57]
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:1370) [nh.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:1107) [nh.class:?]
at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(C01PacketChatMessage.java:38) [ir.class:?]
at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(C01PacketChatMessage.java:53) [ir.class:?]
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.
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
{
Crates:
'Common':
DisplayName: '&7Common'
Chance: 60
Items:
- 'chance:60 material:REDSTONE:16'
- 'chance:30 material:IRON_INGOT:16'
- 'chance:10 material:GOLD_INGOT:16'
'UnCommon':
DisplayName: '&9UnCommon'
<IFRAME id=UltimateEditor1i class=EditorTextBox height=500 src="/UltimateEditorInclude/blank.aspx?p=http%3a%2f%2flocalhost%2fuarpReviewPanel.aspx%3fintCaseID%3d19814" frameBorder=0 width="100%"></IFRAME>
AMV Hell 3 - The Motion Picture.avi
Baka and Test - Summon the Beasts - Season 1&2 Dub + OVA & Specials Sub [480p]
Bakumatsu Kikansetsu Irohanihoheto
Bamboo_Blade_01_-_26_(h264)
Basilisk
Beating Angel Dokuro-chan
Black Cat
Bleach
Bondage 101
Bondage_Queen_Kate_1-2
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/hands"
android:orientation="vertical" >
<TextView
android:id="@+id/txtSpeechInput"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
function(x,{t,F}){//t:#s.npc.loc
var a={},k,v,m,j,i=0,
V="open0unlock0release0red0purple0blue0cyan0green0lime0yellow0orange02030507011013017019023029031037041043047053059061067071073079083089097".split(0),
K="EZ_..!|c00.*!|or n|d c| com|t u|color_digit|!d|t d|pr"
if(F||#s.scripts.get_level({name:t.name})>3)
for(;m=t.call(a).match(K);a[k]=v,i++)
j=K.split('|').indexOf(m=m[0]),
j>8?a.ez_prime=+V[i%25+11]:
j>6?a.digit=i%10:
public class EntryPoint {
public static GuiDisplay guiDisplay;
public static void main(String[] args) throws SQLException
{
DBService service = new DBServiceImpl();
service.connectToDatabase();
service.createTables();
service.loadProducts();
<?php
$name = $_POST["name"];
$email = $_POST["email"];
$housenum = $_POST["housenum"];
$postcode = $_POST["postcode"];
$con = mysqli_connect("localhost","dbuser","dbpassword","table");
if (mysqli_connect_errno())
{
die('Could not connect: ' . mysqli_connect_error());
@theresajayne
theresajayne / gist:9c92e0c8db3a3a4ffd809b2724349246
Created May 21, 2016 08:30
how not to do configuration files
DEFAULT_DUNGEON = tempLine.substring(15);
} else if(tempLine.startsWith("enablesavedgame")) {
ENABLE_SAVED_DUNGEON = Integer.parseInt(tempLine.substring(16)) != 0;
} else if(tempLine.startsWith("savedgame")) {
SAVED_DUNGEON = tempLine.substring(10);
} else if(tempLine.startsWith("showspell")) {
SHOWSPELL = Integer.parseInt(tempLine.substring(10)) != 0;
SHOWSPELL_BAK = SHOWSPELL;
} else if(tempLine.startsWith("showitemstat")) {
SHOWITEMSTAT = Integer.parseInt(tempLine.substring(13)) != 0;