LunaChat v3.0.6 : Added bungeePassThroughMode.
このコミットが含まれているのは:
1 親
81b75f3f0f
コミット
bfd6bbbe87
13ファイル変更
+409
-116
検索条件に一致するファイルはありません
@@ -17,6 +17,7 @@ import org.bukkit.entity.Player;
|
||||
import com.github.ucchyocean.lc3.LunaChat;
|
||||
import com.github.ucchyocean.lc3.LunaChatBukkit;
|
||||
import com.github.ucchyocean.lc3.bridge.VaultChatBridge;
|
||||
import com.github.ucchyocean.lc3.util.BlockLocation;
|
||||
|
||||
import net.md_5.bungee.api.chat.BaseComponent;
|
||||
|
||||
@@ -299,4 +300,15 @@ public class ChannelMemberPlayer extends ChannelMemberBukkit {
|
||||
return new ChannelMemberPlayer(op.getUniqueId());
|
||||
}
|
||||
}
|
||||
|
||||
public ChannelMemberOther toChannelMemberOther() {
|
||||
return new ChannelMemberOther(getName(), getDisplayName(), getPrefix(), getSuffix(),
|
||||
getBlockLocation(), id.toString());
|
||||
}
|
||||
|
||||
private BlockLocation getBlockLocation() {
|
||||
Location loc = getLocation();
|
||||
if ( loc == null ) return null;
|
||||
return new BlockLocation(getWorldName(), loc.getBlockX(), loc.getBlockY(), loc.getBlockZ());
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする