diff options
author | snowleo <schneeleo@gmail.com> | 2011-12-20 11:57:22 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-12-20 11:57:51 +0100 |
commit | 21b7931f7be6e56ce266298aae94cb0697e35382 (patch) | |
tree | 4967b751b2926f158703df82c34d97beeac87958 /Essentials/src/com/earth2me/essentials/commands/Commandbreak.java | |
parent | eeeea7e227c22e4755ac5fdd7383bc0a63ae0b7d (diff) | |
download | Essentials-21b7931f7be6e56ce266298aae94cb0697e35382.tar Essentials-21b7931f7be6e56ce266298aae94cb0697e35382.tar.gz Essentials-21b7931f7be6e56ce266298aae94cb0697e35382.tar.lz Essentials-21b7931f7be6e56ce266298aae94cb0697e35382.tar.xz Essentials-21b7931f7be6e56ce266298aae94cb0697e35382.zip |
Fix sending our player object to other plugins.
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandbreak.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandbreak.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandbreak.java b/Essentials/src/com/earth2me/essentials/commands/Commandbreak.java index a1db8e0b2..2691ad4f2 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandbreak.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandbreak.java @@ -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()) { |