1.20.3 working & checkstyle fixes
This commit is contained in:
@@ -133,6 +133,18 @@ public class PlayerResourcePackStatusEvent {
|
||||
/**
|
||||
* The player has accepted the resource pack and is now downloading it.
|
||||
*/
|
||||
ACCEPTED
|
||||
ACCEPTED,
|
||||
/**
|
||||
* The URL of the resource pack failed to load.
|
||||
*/
|
||||
INVALID_URL,
|
||||
/**
|
||||
* The player failed to reload the resource pack.
|
||||
*/
|
||||
FAILED_RELOAD,
|
||||
/**
|
||||
* The resource pack was discarded.
|
||||
*/
|
||||
DISCARDED,
|
||||
}
|
||||
}
|
||||
}
|
@@ -19,7 +19,6 @@ import com.velocitypowered.api.proxy.player.TabList;
|
||||
import com.velocitypowered.api.proxy.server.RegisteredServer;
|
||||
import com.velocitypowered.api.util.GameProfile;
|
||||
import com.velocitypowered.api.util.ModInfo;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
@@ -300,4 +299,4 @@ public interface Player extends
|
||||
* @return the player's client brand
|
||||
*/
|
||||
@Nullable String getClientBrand();
|
||||
}
|
||||
}
|
@@ -7,11 +7,10 @@
|
||||
|
||||
package com.velocitypowered.api.proxy.player;
|
||||
|
||||
import java.util.UUID;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* Represents the information for a resource pack to apply that can be sent to the client.
|
||||
*/
|
||||
@@ -175,4 +174,4 @@ public interface ResourcePackInfo {
|
||||
*/
|
||||
PLUGIN_ON_PROXY
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user