Spigot [Bukkit] Gift Chests 2015-05-08

Adds a small chest block which when broken will drop a random item

  1. martijnpold submitted a new resource:

    Gift Chests - Adds a small chest block which when broken will drop a random item

    Read more about this resource...
     
  2. bug please fix
    [18:35:58 ERROR]: Could not pass event BlockBreakEvent to Presents v1.1.1
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:305) ~[spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:502) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:487) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.PlayerInteractManager.breakBlock(PlayerI
    nteractManager.java:286) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.PlayerInteractManager.a(PlayerInteractMa
    nager.java:215) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java
    :618) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.PacketPlayInBlockDig.a(SourceFile:40) [s
    pigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.PacketPlayInBlockDig.a(SourceFile:10) [s
    pigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.PlayerConnectionUtils$1.run(SourceFile:1
    3) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [
    ?:1.7.0_55]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_55]
    at net.minecraft.server.v1_8_R2.SystemUtils.a(SourceFile:60) [spigot-1.8
    .3.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:7
    12) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:3
    68) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:6
    51) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java
    :554) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at java.lang.Thread.run(Unknown Source) [?:1.7.0_55]
    Caused by: java.lang.NullPointerException
    at mpolder.bukkit.presents.Presents.onBlockBreak(Presents.java:154) ~[?:
    ?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0
    _55]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0
    _55]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    .7.0_55]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_55]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:301) ~[spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    ... 17 more
    >