diff options
author | snowleo <schneeleo@gmail.com> | 2011-12-20 11:57:22 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-12-20 11:57:22 +0100 |
commit | 31e80ba698e29d88be97aeaae87ecbd189cb1ea8 (patch) | |
tree | 0e036dc92d1995428ce9692045cc467e01a9fd9f | |
parent | abd86347c70005c0a4d36400d16472019c3a9d7a (diff) | |
download | Essentials-31e80ba698e29d88be97aeaae87ecbd189cb1ea8.tar Essentials-31e80ba698e29d88be97aeaae87ecbd189cb1ea8.tar.gz Essentials-31e80ba698e29d88be97aeaae87ecbd189cb1ea8.tar.lz Essentials-31e80ba698e29d88be97aeaae87ecbd189cb1ea8.tar.xz Essentials-31e80ba698e29d88be97aeaae87ecbd189cb1ea8.zip |
Fix sending our player object to other plugins.
-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()) { |