Commits

Thinkofname authored bd465016092
Fix a missed assignment with the last commit
No tags

src/main/java/org/bukkit/event/block/BlockPistonRetractEvent.java

Modified
8 8
9 9 /**
10 10 * Called when a piston retracts
11 11 */
12 12 public class BlockPistonRetractEvent extends BlockPistonEvent {
13 13 private static final HandlerList handlers = new HandlerList();
14 14 private List<Block> blocks;
15 15
16 16 public BlockPistonRetractEvent(final Block block, final List<Block> blocks, final BlockFace direction) {
17 17 super(block, direction);
18 +
19 + this.blocks = blocks;
18 20 }
19 21
20 22 /**
21 23 * Gets the location where the possible moving block might be if the
22 24 * retracting piston is sticky.
23 25 *
24 26 * @return The possible location of the possibly moving block.
25 27 */
26 28 @Deprecated
27 29 public Location getRetractLocation() {

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut