t3hk0d3/PermissionsEx — Issue #234: Block Place/Break
Author: FiFiTiDO
Created: 2012-02-04 04:31:24+00:00
State: open

I get this when block is broken:

23:25:06 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
java.lang.NullPointerException
at com.nijiko.permissions.Control.getGroups(Control.java:620)
at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:
61)
at org.bukkit.plugin.java.JavaPluginLoader$40.execute(JavaPluginLoader.j
ava:542)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:340)
at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:205
)
at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:1
00)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:503)
at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:96)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:535)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:433)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

and this when placing a block:

23:25:04 [SEVERE] Could not pass event BLOCK_PLACE to Permissions
java.lang.NullPointerException
at com.nijiko.permissions.Control.getGroups(Control.java:620)
at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:
43)
at org.bukkit.plugin.java.JavaPluginLoader$32.execute(JavaPluginLoader.j
ava:486)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:340)
at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
aftEventFactory.java:100)
at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
aftEventFactory.java:84)
at net.minecraft.server.ItemBlock.a(ItemBlock.java:97)
at net.minecraft.server.ItemStack.placeItem(ItemStack.java:83)
at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
ava:288)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:598)
at net.minecraft.server.Packet15Place.a(SourceFile:39)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:96)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:535)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:433)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)