From 6d0ddbe600a534fc80fc796efc18b3f6c5f5f488 Mon Sep 17 00:00:00 2001 From: montlikadani Date: Thu, 16 Aug 2018 17:59:29 +0200 Subject: [PATCH] Update v1_8.java --- src/main/java/com/gamingmesh/jobs/nmsUtil/v1_8.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gamingmesh/jobs/nmsUtil/v1_8.java b/src/main/java/com/gamingmesh/jobs/nmsUtil/v1_8.java index 7669bb81..0c3eceb0 100644 --- a/src/main/java/com/gamingmesh/jobs/nmsUtil/v1_8.java +++ b/src/main/java/com/gamingmesh/jobs/nmsUtil/v1_8.java @@ -22,7 +22,7 @@ import com.gamingmesh.jobs.NMS; public class v1_8 implements NMS { @Override public List getPistonRetractBlocks(BlockPistonRetractEvent event) { - List blocks = new ArrayList(); + List blocks = new ArrayList<>(); blocks.addAll(event.getBlocks()); return blocks; }