3
0
Mirror von https://github.com/Moulberry/AxiomPaperPlugin.git synchronisiert 2024-11-08 09:30:04 +01:00
Dieser Commit ist enthalten in:
Moulberry 2024-06-27 02:45:25 +08:00
Ursprung d7434e69d3
Commit 48c2af3e90
4 geänderte Dateien mit 5 neuen und 5 gelöschten Zeilen

Datei anzeigen

@ -71,7 +71,7 @@ tasks {
"name" to project.name,
"version" to project.version,
"description" to project.description,
"apiVersion" to "1.20"
"apiVersion" to "1.21"
)
inputs.properties(props)
filesMatching("plugin.yml") {

Datei anzeigen

@ -3,7 +3,7 @@
bom-newest = "1.37"
cloud-paper = "2.0.0-20240516.054251-69"
coreprotect = "22.4"
paper = "1.20.6-R0.1-SNAPSHOT"
paper = "1.21-R0.1-SNAPSHOT"
plotsquared = "7.3.9-20240513.192211-13"
reflection-remapper = "0.1.2-20240315.033304-2"
viaversion-api = "4.10.1-20240505.124211-22"
@ -29,4 +29,4 @@ zstd-jni = { group = "com.github.luben", name = "zstd-jni", version = "1.5.5-4"
[plugins]
paperweight-userdev = { id = "io.papermc.paperweight.userdev", version.ref = "paperweight-userdev" }
run-paper = { id = "xyz.jpenilla.run-paper", version.ref = "run-paper" }
shadow = { id = "io.github.goooler.shadow", version.ref = "shadow" }
shadow = { id = "io.github.goooler.shadow", version.ref = "shadow" }

Datei anzeigen

@ -162,7 +162,7 @@ public class AxiomPaper extends JavaPlugin implements Listener {
new RequestChunkDataPacketListener(this) : null;
// Hack to figure out the id of the CustomPayload packet
ProtocolInfo<ServerGamePacketListener> protocol = GameProtocols.SERVERBOUND.bind(k -> new RegistryFriendlyByteBuf(k,
ProtocolInfo<ServerGamePacketListener> protocol = GameProtocols.SERVERBOUND_TEMPLATE.bind(k -> new RegistryFriendlyByteBuf(k,
MinecraftServer.getServer().registryAccess()));
RegistryFriendlyByteBuf friendlyByteBuf = new RegistryFriendlyByteBuf(Unpooled.buffer(), MinecraftServer.getServer().registryAccess());
protocol.codec().encode(friendlyByteBuf, new ServerboundCustomPayloadPacket(new DiscardedPayload(VersionHelper.createResourceLocation("dummy"), Unpooled.buffer())));

Datei anzeigen

@ -169,7 +169,7 @@ public class WorldExtension {
}
}
this.level.getChunkSource().getLightEngine().relight(chunkSet, pos -> {}, count -> {});
this.level.getChunkSource().getLightEngine().starlight$serverRelightChunks(chunkSet, pos -> {}, count -> {});
}
}