mirror of
https://github.com/songoda/SongodaCore.git
synced 2024-11-22 18:16:19 +01:00
feat: Compile v1_21_R1 nms module with Spigot 1.21.1 for compatibility
This commit is contained in:
parent
91a92bc10b
commit
97a9e5f6e8
@ -56,7 +56,7 @@ runs:
|
||||
|
||||
- uses: SpraxDev/Action-SpigotMC@v5
|
||||
with:
|
||||
versions: 1.20.6, 1.21
|
||||
versions: 1.20.6, 1.21.1
|
||||
remapped: true
|
||||
sftpCacheHost: ${{ inputs.spigot_buildtools_sftp_host }}
|
||||
sftpCachePort: ${{ inputs.spigot_buildtools_sftp_port }}
|
||||
|
@ -78,6 +78,7 @@ public enum ServerVersion {
|
||||
VERSION_TO_REVISION.put("1.20.5", "v1_20_R4");
|
||||
VERSION_TO_REVISION.put("1.20.6", "v1_20_R4");
|
||||
VERSION_TO_REVISION.put("1.21", "v1_21_R1");
|
||||
VERSION_TO_REVISION.put("1.21.1", "v1_21_R1");
|
||||
|
||||
if (Bukkit.getServer() != null) {
|
||||
String srvPackage = Bukkit.getServer().getClass().getPackage().getName();
|
||||
|
@ -16,7 +16,7 @@
|
||||
<java.version>21</java.version>
|
||||
<java.release>21</java.release>
|
||||
|
||||
<nms.ver>1.21-R0.1-SNAPSHOT</nms.ver>
|
||||
<nms.ver>1.21.1-R0.1-SNAPSHOT</nms.ver>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
|
@ -10,7 +10,7 @@ public class AnvilInventoryCustom extends CraftInventoryAnvil {
|
||||
final InventoryHolder holder;
|
||||
|
||||
public AnvilInventoryCustom(InventoryHolder holder, Location location, Container inventory, Container resultInventory, AnvilMenu container) {
|
||||
super(location, inventory, resultInventory, container);
|
||||
super(location, inventory, resultInventory);
|
||||
|
||||
this.holder = holder;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user