Posted February 7, 201312 yr Hi! I have tried running server with just Forge but players on the server get this error when breaking/picking up a pumpkin This error also appears immediately when they try to reconnect (they have pumpkin in their inventory). What's happening? [WARNING] Failed to handle packet for Joonas612/25.114.116.215: java.lang.ArrayIndexOutOfBoundsException: 4 java.lang.ArrayIndexOutOfBoundsException: 4 at qx.b(EntityPlayer.java:2277) at md.c(EntityLiving.java:1914) at qx.c(EntityPlayer.java:560) at md.j_(EntityLiving.java:843) at qx.j_(EntityPlayer.java:328) at iq.g(EntityPlayerMP.java:286) at iv.a(NetServerHandler.java:310) at eb.a(SourceFile:136) at cg.b(TcpConnection.java:458) at iv.d(NetServerHandler.java:136) at iw.b(NetworkListenThread.java:57) at ht.b(SourceFile:30) at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:703) at ho.r(DedicatedServer.java:269) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497) at fy.run(SourceFile:849)
February 7, 201312 yr Forge version? Read the EAQ before posting! OR ELSE! This isn't building better software, its trying to grab a place in the commit list of a highly visible github project. www.forgeessentials.com Don't PM me, I don't check this account unless I have to.
February 8, 201312 yr Actually looking into this this appears to be a vanilla bug, not exactly sure how you're getting it as it requires a fairly convaluted set of conditions to be in place... If you're able to write down a step-by-step to reproduce we can take a look. However, i'd just kill the user's inventory and call it good. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
February 10, 201312 yr Author Deleted the player .dat file and after that joining and playing works normally. Must be some random corruption in the .dat file.
February 22, 201312 yr Hi, i just had experienced the same problem. This issue usually comes from using a bukkit world in a vanilla server. See this bug report: https://mojang.atlassian.net/browse/MC-4560 Bukkit sets the NBT value of "CanPickUpLoot" to 1. This value triggers some strange behaviour in a vanilla server: Whenever you pick up an item you don't have already in your inventory it will be "equipped" into your boots slot. When you pick up boots they will go into the trousers slot. When you pick up trousers they will go into the chest plate slot. When you pickup a chest plate it will go into your helmet slot. When you pick up a helmet the game crashes because it tries to equip it in the next slot which doesn't exist. That's why an ArrayIndexOutOfBoundsException is thrown. Since a pumpkin can be used as helment it crashes the game when you pick it up. Just wanted to clear this up. It is actually a bug in the vanilla server which is caused by worlds created / played with bukkit and has nothing to do with Forge. I fixed my issue by using NBTExplorer and changed CanPickUpLoot back to 0
February 23, 201312 yr fixed I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.