1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-13 18:14:38 +02:00

Fix sending our player object to other plugins.

This commit is contained in:
snowleo
2011-12-20 11:57:22 +01:00
parent be7f831080
commit 9e1d263555

View File

@@ -31,7 +31,7 @@ public class Commandbreak extends EssentialsCommand
{
throw new Exception("You are not allowed to destroy bedrock."); //TODO: Translation
}
final BlockBreakEvent event = new BlockBreakEvent(block, user);
final BlockBreakEvent event = new BlockBreakEvent(block, user.getBase());
server.getPluginManager().callEvent(event);
if (event.isCancelled())
{