Jump to content
  • 0

Chaning weaponmod config crashes server when using dispenser


Question

Posted

Title: Changing weaponmod config crashes server when using dispenser

Version: 3.1.2

OS: Windows

Java Version: java version "1.7.0_04" (build 1.7.0_04-b22)

Description of Problem:

I changed the config of the weapon mod located ad mods/weaponmod to:

cannon-block-damage=false

dynamite-block-damage=true

can-throw-knife=true

can-throw-spear=true

spear=false

halberd=true

battleaxe=true

warhammer=true

knife=false

javelin=false

musket=false

crossbow=false

blowgun=false

dynamite=true

flail=true

firerod=true

cannon=false

blunderbuss=false

dummy=true

after doing this the server crashes if somebody uses a dispenser

Error Messages:

Error Log:


2012-08-11 13:30:52 [sEVERE] java.lang.NullPointerException

2012-08-11 13:30:52 [sEVERE] at net.minecraft.server.mod_WeaponMod.dispenseEntity(mod_WeaponMod.java:623)

2012-08-11 13:30:52 [sEVERE] at net.minecraft.server.BaseMod.dispense(BaseMod.java:55)

2012-08-11 13:30:52 [sEVERE] at cpw.mods.fml.server.FMLBukkitHandler.tryDispensingEntity(FMLBukkitHandler.java:289)

2012-08-11 13:30:52 [sEVERE] at net.minecraft.server.BlockDispenser.dispense(BlockDispenser.java:149)

2012-08-11 13:30:52 [sEVERE] at net.minecraft.server.BlockDispenser.a(BlockDispenser.java:219)

2012-08-11 13:30:52 [sEVERE] at net.minecraft.server.World.a(World.java:2429)

2012-08-11 13:30:52 [sEVERE] at net.minecraft.server.World.doTick(World.java:1776)

2012-08-11 13:30:52 [sEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:565)

2012-08-11 13:30:52 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)

2012-08-11 13:30:52 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

2012-08-11 13:30:52 [sEVERE] Unexpected exception

java.lang.NullPointerException

at net.minecraft.server.mod_WeaponMod.dispenseEntity(mod_WeaponMod.java:623)

at net.minecraft.server.BaseMod.dispense(BaseMod.java:55)

at cpw.mods.fml.server.FMLBukkitHandler.tryDispensingEntity(FMLBukkitHandler.java:289)

at net.minecraft.server.BlockDispenser.dispense(BlockDispenser.java:149)

at net.minecraft.server.BlockDispenser.a(BlockDispenser.java:219)

at net.minecraft.server.World.a(World.java:2429)

at net.minecraft.server.World.doTick(World.java:1776)

at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:565)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)

at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

2 answers to this question

Recommended Posts

  • 0
Posted

With config

cannon-block-damage=false

dynamite-block-damage=false

can-throw-knife=true

can-throw-spear=true

 

spear=true

halberd=true

battleaxe=true

warhammer=true

knife=true

javelin=true

musket=true

crossbow=true

blowgun=true

dynamite=false

flail=true

firerod=true

cannon=false

blunderbuss=true

dummy=true


 

I get


java.lang.NullPointerException

 at net.minecraft.server.mod_WeaponMod.dispenseEntity(mod_WeaponMod.java:644)

at net.minecraft.server.BaseMod.dispense(BaseMod.java:55)

 at cpw.mods.fml.server.FMLBukkitHandler.tryDispensingEntity(FMLBukkitHandler.java:289)

 at net.minecraft.server.BlockDispenser.dispense(BlockDispenser.java:149)

 at net.minecraft.server.BlockDispenser.a(BlockDispenser.java:219)

 at net.minecraft.server.World.a(World.java:2429)

 at net.minecraft.server.World.doTick(World.java:1776)

 at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:565)

 at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)

 at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

Unexpected exception java.lang.NullPointerException

at net.minecraft.server.mod_WeaponMod.dispenseEntity(mod_WeaponMod.java:644)

at net.minecraft.server.BaseMod.dispense(BaseMod.java:55)

at cpw.mods.fml.server.FMLBukkitHandler.tryDispensingEntity(FMLBukkitHandler.java:289)

at net.minecraft.server.BlockDispenser.dispense(BlockDispenser.java:149)

at net.minecraft.server.BlockDispenser.a(BlockDispenser.java:219)

at net.minecraft.server.World.a(World.java:2429)

at net.minecraft.server.World.doTick(World.java:1776)

at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:565)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)

at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

Running Ubuntu Server 12.04 x64, java version 1.7.0_03

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...