dev/rework

This commit is contained in:
Len
2022-08-25 00:22:46 +02:00
parent 1ae73c5ba8
commit abf53fbbbe
28 changed files with 1204 additions and 297 deletions
@@ -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: