How am I getting this screen on SoF?
I've been trying to add the different GlobalConfigs, but I can't figure out what's sending me here on SoF.

I thought it was sending config 1781 to get me here, but it's not?
Code:
if (player.isspining == 0) {
player.spins -= 1;//we gotta fix one more thin
player.isspining += 1;
System.out.println("Here");
player.getPackets().sendConfigByFile(11026, player.spins + 1);
player.getPackets().sendConfigByFile(10860, slot);
if(player.getBox().getId() == 995) {
player.getPackets().sendGlobalConfig(1781, 5);
} else if (player.getInventory().getFreeSlots() > 0) {
player.getPackets().sendGlobalConfig(1781, 1);
} else if (player.getBank().hasBankSpace()) {
player.getPackets().sendGlobalConfig(1781, 3);
} else {
player.getPackets().sendGlobalConfig(1781, 0);
}
if(player.getBox().getAmount() > 0) {
player.getPackets().sendIComponentText(1253, 163, "Congratulations, you have won " + player.getBox().getName() + "!");
} else {
player.getPackets().sendIComponentText(1253, 163, "Congratulations, you have won " + player.getBox().getName() + "s x " + player.getBox().getAmount() + "!");
}
player.Rewards = slot;
}