From 33c71c2dd2eddbd4d840d5b842dc359791192fdc Mon Sep 17 00:00:00 2001 From: montlikadani Date: Thu, 16 Aug 2018 17:58:52 +0200 Subject: [PATCH] Update v1_12.java --- src/main/java/com/gamingmesh/jobs/nmsUtil/v1_12.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gamingmesh/jobs/nmsUtil/v1_12.java b/src/main/java/com/gamingmesh/jobs/nmsUtil/v1_12.java index 359cfa95..619f5e1d 100644 --- a/src/main/java/com/gamingmesh/jobs/nmsUtil/v1_12.java +++ b/src/main/java/com/gamingmesh/jobs/nmsUtil/v1_12.java @@ -16,7 +16,7 @@ import com.gamingmesh.jobs.NMS; public class v1_12 implements NMS { @Override public List getPistonRetractBlocks(BlockPistonRetractEvent event) { - List blocks = new ArrayList(); + List blocks = new ArrayList<>(); blocks.addAll(event.getBlocks()); return blocks; }