dev/rework

This commit is contained in:
Len committed 2022-08-25 00:22:46 +02:00
1 parent 1ae73c5ba8
commit abf53fbbbe
28 files changed
+1204 -297

No files matched your search

@@ -1,5 +1,6 @@
package com.alttd.playershops.commands;
import com.alttd.playershops.gui.HomeGui;
import com.alttd.playershops.gui.ShopManagementGui;
import com.alttd.playershops.shop.PlayerShop;
import org.bukkit.command.Command;
@@ -25,7 +26,7 @@ public class ShopCommand implements CommandExecutor, TabCompleter {
case "reload":
break;
case "open":
ShopManagementGui gui = new ShopManagementGui(player.getUniqueId(), new PlayerShop(player.getLocation(), player.getLocation(), player));
HomeGui gui = new HomeGui(player.getUniqueId());
gui.open();
break;
default: