dev/rework
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user