From 683b0bfffb3aa63e5df76140c360c21015efc39c Mon Sep 17 00:00:00 2001 From: Travis CI Date: Sun, 16 Jun 2019 20:30:31 +0200 Subject: [PATCH] Fixing Gamemode command --- src/de/steamwar/bausystem/commands/CommandGamemode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/de/steamwar/bausystem/commands/CommandGamemode.java b/src/de/steamwar/bausystem/commands/CommandGamemode.java index 342b135..4d38bd0 100644 --- a/src/de/steamwar/bausystem/commands/CommandGamemode.java +++ b/src/de/steamwar/bausystem/commands/CommandGamemode.java @@ -2,7 +2,7 @@ package de.steamwar.bausystem.commands; import com.google.common.collect.ImmutableList; import de.steamwar.bausystem.BauSystem; -import de.warking.hunjy.MySQL.BauweltMember; +import de.steamwar.bausystem.sql.BauweltMember; import org.apache.commons.lang.Validate; import org.bukkit.GameMode; import org.bukkit.command.CommandSender; @@ -37,7 +37,7 @@ public class CommandGamemode extends BukkitCommand { Player p = (Player) sender; if(!p.getUniqueId().equals(BauSystem.getOwner())){ - BauweltMember member = BauweltMember.getBauMember(BauSystem.getOwner(), p.getUniqueId()); + BauweltMember member = BauweltMember.getBauMember(p.getUniqueId()); if(member == null || !member.isBuild()){ p.sendMessage(BauSystem.PREFIX + "§cDu darfst hier deinen Spielmodus nicht ändern"); return false;