From 0473d1c7dd0ac461cde5485aad1accf7720acf11 Mon Sep 17 00:00:00 2001 From: Shevchik Date: Fri, 7 Mar 2014 20:25:58 +0400 Subject: [PATCH] Remove unneeded clone --- src/com/cnaude/chairs/listeners/TrySitEventListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/cnaude/chairs/listeners/TrySitEventListener.java b/src/com/cnaude/chairs/listeners/TrySitEventListener.java index abeacbc..331ead3 100644 --- a/src/com/cnaude/chairs/listeners/TrySitEventListener.java +++ b/src/com/cnaude/chairs/listeners/TrySitEventListener.java @@ -186,7 +186,7 @@ public class TrySitEventListener implements Listener { stairs = (Stairs) block.getState().getData(); } - Location plocation = block.getLocation().clone(); + Location plocation = block.getLocation(); plocation.add(0.5D, (sh - 0.5D), 0.5D); // Rotate the player's view to the descending side of the block.