CraftBook 3

CraftBook 3

139k Downloads

Head Drops

LadyCailinBot opened this issue ยท 17 comments

commented

CRAFTBOOK-2634 - Reported by ZGold92

Note: This is for CraftBook. It wouldn't allow me to change the project.

Whenever I place a head, for example a slime head, and I break it, it gives me about 7 stacks of slime heads. In return, I get this error in the console:

    at com.sk89q.craftbook.mech.HeadDrops.onBlockBreak(HeadDrops.java:152)
    at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    at com.sk89q.craftbook.bukkit.CraftBookPlugin.canBuild(CraftBookPlugin.java:1034)
commented

Comment by ZGold92

Wait. It just hit me. I am using a CraftBook Version made for 1.6.1. I have CraftBukkit for 1.5.2. Would that be causing my problem? Or are the newer versions compatible with 1.5.2.

commented

Comment by me4502

The newer versions are mostly backwards compatible. Can you please try 3.7b4?

commented

Comment by ZGold92

Yeah. I'll test that out and let ya know how it is. Thanks for your help man.

commented

Comment by ZGold92

After updating CraftBook to 3.7b4, I am still having the issue.

commented

Comment by me4502

Oh? Can you please type /cb report and pastebin the file that it creates?

commented

Comment by ZGold92

Sure can. Here is the link: http://pastebin.com/dw8QqyN2

commented

Comment by me4502

This has been fixed in the latest dev build.

commented

Comment by ZGold92

Awesome. Thanks for your help.

commented

Comment by ZGold92

Quick question. Why are the heads showing up as Steve? For example the Spider Head.

commented

Comment by me4502

When you place or wear them they'll show as a spider (unless you aren't connected to the Internet or the skin servers are down), but its not possible to change the items image.

commented

Comment by ZGold92

Ah. Right on. Thanks for the help man. Much appreciated.

commented

Comment by ZGold92

Here are two screenshots. As shown in the 1st picture, the heads also show up as Steve.

commented

Comment by me4502

What version are you using? I can't reproduce this with the latest.

Edit: After doing a lot of testing, I definitely can't reproduce this issue.

commented

Comment by ZGold92

"09:35:03 [INFO] This server is running CraftBukkit version git-Bukkit-1.5.2-R1.0
--b2788jnks (MC: 1.5.2) (Implementing API version 1.5.2-R1.0)"

commented

Comment by ZGold92

Also, Here is the Head Drops part from my config.yml file in CraftBook. I tried to stop the drops from happening as well and that doesn't seem to work either.

head-drops:
    enable: true
    drop-mob-heads: true
    drop-player-heads: true
    require-player-killed: true
    drop-head-when-mined: true
    drop-rate: 0.05
    looting-rate-modifier: 0.05
    drop-rates:
        PIG: 0.0
        COW: 0.0
        SPIDER: 0.0
        SLIME: 0.0
        SQUID: 0.0
        MUSHROOM: 0.0
        SILVERFISH: 0.0
        SNOWGOLEM: 0.0
        IRONGOLEM: 0.0
        BAT: 0.0
        SHEEP: 0.0
    custom-mob-skins: {}
commented

Comment by me4502

I meant the version of craftbook, type /cb about

commented

Comment by ZGold92

My apologies. It is CraftBook version 3.7b2