diff options
author | snowleo <schneeleo@gmail.com> | 2011-07-18 01:05:42 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-07-18 01:05:42 +0200 |
commit | 81f0ad4d9216bc7ffbd4aa87c00842c156f49878 (patch) | |
tree | c6e252a50a55e249fcd29956d7186a20c53c2053 /EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java | |
parent | 1ce6be5944fd2b8db0804d588747340ad88751cc (diff) | |
download | Essentials-81f0ad4d9216bc7ffbd4aa87c00842c156f49878.tar Essentials-81f0ad4d9216bc7ffbd4aa87c00842c156f49878.tar.gz Essentials-81f0ad4d9216bc7ffbd4aa87c00842c156f49878.tar.lz Essentials-81f0ad4d9216bc7ffbd4aa87c00842c156f49878.tar.xz Essentials-81f0ad4d9216bc7ffbd4aa87c00842c156f49878.zip |
Piston push blacklist
Diffstat (limited to 'EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java')
-rw-r--r-- | EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java index 18acd9be3..53843843f 100644 --- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java +++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtect.java @@ -45,6 +45,8 @@ public class EssentialsProtect extends JavaPlugin implements IConf, IProtect pm.registerEvent(Type.BLOCK_IGNITE, blockListener, Priority.Highest, this); pm.registerEvent(Type.BLOCK_BURN, blockListener, Priority.Highest, this); pm.registerEvent(Type.BLOCK_BREAK, blockListener, Priority.Highest, this); + pm.registerEvent(Type.BLOCK_PISTON_EXTEND, blockListener, Priority.Highest, this); + pm.registerEvent(Type.BLOCK_PISTON_RETRACT, blockListener, Priority.Highest, this); final EssentialsProtectEntityListener entityListener = new EssentialsProtectEntityListener(this); pm.registerEvent(Type.ENTITY_EXPLODE, entityListener, Priority.Highest, this); |