File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
src/main/java/online/umbcraft/libraries/dupes Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ shadowJar {
2626}
2727
2828group = ' online.umbcraft.libraries'
29- version = ' 1.5.2 '
29+ version = ' 1.5.3 '
3030description = ' Golden Dupes - dupes from the Golden days of minecraft!'
3131sourceCompatibility = ' 17'
3232targetCompatibility = ' 17'
Original file line number Diff line number Diff line change 1919
2020import java .util .*;
2121
22- import static online .umbcraft .libraries .config .ConfigPath .*;
23-
2422public class AnvilDupe extends Dupe implements Listener {
2523
2624 final private Set <Location > anvilsInUse = new HashSet <>();
@@ -45,7 +43,7 @@ public void onAnvilUse(final InventoryClickEvent e) {
4543 return ;
4644
4745 Location l = e .getClickedInventory ().getLocation ();
48- Location blockBelow = l .add (new Vector (0 ,-1 ,0 ));
46+ Location blockBelow = l .clone (). add (new Vector (0 ,-1 ,0 ));
4947 ItemStack toDupe = e .getCurrentItem ();
5048 Player p = (Player ) e .getWhoClicked ();
5149
You can’t perform that action at this time.
0 commit comments