Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-07 08:40:09 +01:00
Small changes (#2169)
Dieser Commit ist enthalten in:
Ursprung
9b39affd28
Commit
9de0ebdba7
@ -36,12 +36,8 @@ import org.geysermc.connector.network.session.GeyserSession;
|
||||
|
||||
public class OffhandCommand extends GeyserCommand {
|
||||
|
||||
private final GeyserConnector connector;
|
||||
|
||||
public OffhandCommand(GeyserConnector connector, String name, String description, String permission) {
|
||||
super(name, description, permission);
|
||||
|
||||
this.connector = connector;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -43,7 +43,7 @@ public class BootstrapDumpInfo {
|
||||
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public class PluginInfo {
|
||||
public static class PluginInfo {
|
||||
|
||||
public boolean enabled;
|
||||
public String name;
|
||||
@ -54,7 +54,7 @@ public class BootstrapDumpInfo {
|
||||
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public class ListenerInfo {
|
||||
public static class ListenerInfo {
|
||||
|
||||
public String ip;
|
||||
public int port;
|
||||
|
@ -81,7 +81,7 @@ public class DumpInfo {
|
||||
}
|
||||
|
||||
@Getter
|
||||
public class VersionInfo {
|
||||
public static class VersionInfo {
|
||||
|
||||
private final String name;
|
||||
private final String version;
|
||||
|
@ -62,10 +62,6 @@ public class BlockStorage {
|
||||
return (version.getId() << 1) | (runtime ? 1 : 0);
|
||||
}
|
||||
|
||||
private static BitArrayVersion getVersionFromHeader(byte header) {
|
||||
return BitArrayVersion.get(header >> 1, true);
|
||||
}
|
||||
|
||||
public int getFullBlock(int index) {
|
||||
return this.palette.getInt(this.bitArray.get(index));
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren