mirror of
https://github.com/songoda/SongodaCore.git
synced 2024-11-26 12:05:47 +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
|
- uses: SpraxDev/Action-SpigotMC@v5
|
||||||
with:
|
with:
|
||||||
versions: 1.20.6, 1.21
|
versions: 1.20.6, 1.21.1
|
||||||
remapped: true
|
remapped: true
|
||||||
sftpCacheHost: ${{ inputs.spigot_buildtools_sftp_host }}
|
sftpCacheHost: ${{ inputs.spigot_buildtools_sftp_host }}
|
||||||
sftpCachePort: ${{ inputs.spigot_buildtools_sftp_port }}
|
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.5", "v1_20_R4");
|
||||||
VERSION_TO_REVISION.put("1.20.6", "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", "v1_21_R1");
|
||||||
|
VERSION_TO_REVISION.put("1.21.1", "v1_21_R1");
|
||||||
|
|
||||||
if (Bukkit.getServer() != null) {
|
if (Bukkit.getServer() != null) {
|
||||||
String srvPackage = Bukkit.getServer().getClass().getPackage().getName();
|
String srvPackage = Bukkit.getServer().getClass().getPackage().getName();
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<java.version>21</java.version>
|
<java.version>21</java.version>
|
||||||
<java.release>21</java.release>
|
<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>
|
</properties>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
@ -10,7 +10,7 @@ public class AnvilInventoryCustom extends CraftInventoryAnvil {
|
|||||||
final InventoryHolder holder;
|
final InventoryHolder holder;
|
||||||
|
|
||||||
public AnvilInventoryCustom(InventoryHolder holder, Location location, Container inventory, Container resultInventory, AnvilMenu container) {
|
public AnvilInventoryCustom(InventoryHolder holder, Location location, Container inventory, Container resultInventory, AnvilMenu container) {
|
||||||
super(location, inventory, resultInventory, container);
|
super(location, inventory, resultInventory);
|
||||||
|
|
||||||
this.holder = holder;
|
this.holder = holder;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user