Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-19 22:40:18 +01:00
javadoc typos, log application type as info for now
Dieser Commit ist enthalten in:
Ursprung
b6d404ef00
Commit
e214fbe277
@ -43,7 +43,7 @@ public abstract class SessionLoadResourcePacksEvent extends ConnectionEvent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets an unmodifiable list of {@link ResourcePack}s that will be sent to the client.
|
* Gets an unmodifiable list of {@link ResourcePack}'s that will be sent to the client.
|
||||||
*
|
*
|
||||||
* @return an unmodifiable list of resource packs that will be sent to the client.
|
* @return an unmodifiable list of resource packs that will be sent to the client.
|
||||||
*/
|
*/
|
||||||
@ -59,9 +59,9 @@ public abstract class SessionLoadResourcePacksEvent extends ConnectionEvent {
|
|||||||
public abstract boolean register(@NonNull ResourcePack resourcePack);
|
public abstract boolean register(@NonNull ResourcePack resourcePack);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registers a collection of {@link ResourcePack} to be sent to clients.
|
* Registers a collection of {@link ResourcePack}'s to be sent to clients.
|
||||||
*
|
*
|
||||||
* @param resourcePacks collection of resourcePack's that will be sent to clients.
|
* @param resourcePacks collection of resource pack's that will be sent to clients
|
||||||
*/
|
*/
|
||||||
public abstract void registerAll(@NonNull Collection<ResourcePack> resourcePacks);
|
public abstract void registerAll(@NonNull Collection<ResourcePack> resourcePacks);
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ import java.util.UUID;
|
|||||||
public abstract class GeyserDefineResourcePacksEvent implements Event {
|
public abstract class GeyserDefineResourcePacksEvent implements Event {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets an unmodifiable list of {@link ResourcePack}s that will be sent to clients.
|
* Gets an unmodifiable list of {@link ResourcePack}'s that will be sent to clients.
|
||||||
*
|
*
|
||||||
* @return an unmodifiable list of resource packs that will be sent to clients.
|
* @return an unmodifiable list of resource packs that will be sent to clients.
|
||||||
*/
|
*/
|
||||||
@ -55,9 +55,9 @@ public abstract class GeyserDefineResourcePacksEvent implements Event {
|
|||||||
public abstract boolean register(@NonNull ResourcePack resourcePack);
|
public abstract boolean register(@NonNull ResourcePack resourcePack);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Registers a collection of {@link ResourcePack} to be sent to clients.
|
* Registers a collection of {@link ResourcePack}'s to be sent to clients.
|
||||||
*
|
*
|
||||||
* @param resourcePacks collection of resourcePack's that will be sent to clients.
|
* @param resourcePacks a collection of resource pack's that will be sent to clients.
|
||||||
*/
|
*/
|
||||||
public abstract void registerAll(@NonNull Collection<ResourcePack> resourcePacks);
|
public abstract void registerAll(@NonNull Collection<ResourcePack> resourcePacks);
|
||||||
|
|
||||||
|
@ -133,7 +133,7 @@ public class WebUtils {
|
|||||||
|
|
||||||
// This doesn't seem to be a requirement (anymore?). Logging to debug as it might be interesting though.
|
// This doesn't seem to be a requirement (anymore?). Logging to debug as it might be interesting though.
|
||||||
if (type == null || !type.equals("application/zip")) {
|
if (type == null || !type.equals("application/zip")) {
|
||||||
logger.debug(String.format("Application type from remote pack at URL: %s (type: %s)", url, type));
|
logger.info(String.format("Application type from remote pack at URL: %s (type: %s)", url, type));
|
||||||
}
|
}
|
||||||
|
|
||||||
Path packMetadata = REMOTE_PACK_CACHE.resolve(url.hashCode() + ".metadata");
|
Path packMetadata = REMOTE_PACK_CACHE.resolve(url.hashCode() + ".metadata");
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren