Skip to content

Commit

Permalink
fix(playerItems) : no wool if conds not met
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathu-lmn committed Jun 23, 2024
1 parent cf78934 commit 99a3fa6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static void preparePlayerForLobby(LudosPlayer player) {
public static void preparePlayerItems(LudosPlayer player) {
List<MenuItem> items = new ArrayList<>();

if(Core.get().getTeamManager().getTeams().size() > 2) {
if(Core.get().getTeamManager().getTeams().size() > 2 && Core.get().getGameManager().isAutoGameStart() && Core.get().getGameManager().getDefaultGamePluginName() != null) {
items.add(
new ItemStackMenuItem(
0,
Expand Down

0 comments on commit 99a3fa6

Please sign in to comment.