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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...