1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-01 23:13:48 +01:00

Update v1_12.java

This commit is contained in:
montlikadani 2018-08-16 17:58:52 +02:00 committed by GitHub
parent 0fda3e06f4
commit 33c71c2dd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ import com.gamingmesh.jobs.NMS;
public class v1_12 implements NMS { public class v1_12 implements NMS {
@Override @Override
public List<Block> getPistonRetractBlocks(BlockPistonRetractEvent event) { public List<Block> getPistonRetractBlocks(BlockPistonRetractEvent event) {
List<Block> blocks = new ArrayList<Block>(); List<Block> blocks = new ArrayList<>();
blocks.addAll(event.getBlocks()); blocks.addAll(event.getBlocks());
return blocks; return blocks;
} }