Remove unneeded clone
This commit is contained in:
parent
613f1e7b41
commit
0473d1c7dd
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user