mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
javadoc typos, log application type as info for now
This commit is contained in:
parent
b6d404ef00
commit
e214fbe277
3 changed files with 7 additions and 7 deletions
|
@ -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");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue