mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-01 05:04:43 +02:00
Workaround a CB bug by tracking piston events
There is a bug in Craftbukkit that causes piston events to fire multiple times. We need to keep track of the extend and retract events to see which piston events should be processed.
This commit is contained in:
@ -112,6 +112,7 @@ public class mcMMO extends JavaPlugin {
|
||||
public final static String disarmedItemKey = "mcMMO: Disarmed Item";
|
||||
public final static String playerDataKey = "mcMMO: Player Data";
|
||||
public final static String greenThumbDataKey = "mcMMO: Green Thumb";
|
||||
public final static String pistonDataKey = "mcMMO: Piston State";
|
||||
|
||||
public static FixedMetadataValue metadataValue;
|
||||
|
||||
|
Reference in New Issue
Block a user