Latest BentoBox remixed for 1.16.5 support.
This commit is contained in:
parent
e71d67d3c9
commit
646cd4f2b1
4
pom.xml
4
pom.xml
|
@ -68,7 +68,7 @@
|
|||
<powermock.version>2.0.9</powermock.version>
|
||||
<mongodb.version>3.12.8</mongodb.version>
|
||||
<!-- More visible way to change dependency versions -->
|
||||
<spigot.version>1.17-R0.1-SNAPSHOT</spigot.version>
|
||||
<spigot.version>1.16.5-R0.1-SNAPSHOT</spigot.version>
|
||||
<!-- Might differ from the last Spigot release for short periods
|
||||
of time -->
|
||||
<paper.version>1.16.5-R0.1-SNAPSHOT</paper.version>
|
||||
|
@ -83,7 +83,7 @@
|
|||
<!-- Do not change unless you want different name for local builds. -->
|
||||
<build.number>-LOCAL</build.number>
|
||||
<!-- This allows to change between versions. -->
|
||||
<build.version>1.17.3</build.version>
|
||||
<build.version>1.16.5</build.version>
|
||||
</properties>
|
||||
|
||||
<!-- Profiles will allow to automatically change build version. -->
|
||||
|
|
|
@ -218,7 +218,6 @@ public class BlueprintClipboard {
|
|||
// Signs
|
||||
if (blockState instanceof Sign sign) {
|
||||
b.setSignLines(Arrays.asList(sign.getLines()));
|
||||
b.setGlowingText(sign.isGlowingText());
|
||||
}
|
||||
// Set block data
|
||||
if (blockState.getData() instanceof Attachable) {
|
||||
|
|
|
@ -426,7 +426,6 @@ public class BlueprintPaster {
|
|||
s.setLine(i, lines.get(i));
|
||||
}
|
||||
}
|
||||
s.setGlowingText(glow);
|
||||
// Update the sign
|
||||
s.update();
|
||||
}
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
package world.bentobox.bentobox.nms.v1_17_R1;
|
||||
package world.bentobox.bentobox.nms.v1_16_R3;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.data.BlockData;
|
||||
import org.bukkit.craftbukkit.v1_17_R1.CraftWorld;
|
||||
import org.bukkit.craftbukkit.v1_17_R1.block.data.CraftBlockData;
|
||||
import org.bukkit.craftbukkit.v1_16_R3.CraftWorld;
|
||||
import org.bukkit.craftbukkit.v1_16_R3.block.data.CraftBlockData;
|
||||
|
||||
import net.minecraft.core.BlockPosition;
|
||||
import net.minecraft.world.level.World;
|
||||
import net.minecraft.world.level.block.state.IBlockData;
|
||||
import net.minecraft.world.level.chunk.Chunk;
|
||||
import net.minecraft.server.v1_16_R3.BlockPosition;
|
||||
import net.minecraft.server.v1_16_R3.Chunk;
|
||||
import net.minecraft.server.v1_16_R3.IBlockData;
|
||||
import net.minecraft.server.v1_16_R3.World;
|
||||
import world.bentobox.bentobox.nms.NMSAbstraction;
|
||||
|
||||
|
|
@ -178,16 +178,16 @@ public class ServerCompatibility {
|
|||
/**
|
||||
* @since 1.16.0
|
||||
*/
|
||||
V1_16_5(Compatibility.INCOMPATIBLE),
|
||||
V1_16_5(Compatibility.COMPATIBLE),
|
||||
|
||||
/**
|
||||
* @since 1.17.0
|
||||
*/
|
||||
V1_17(Compatibility.COMPATIBLE),
|
||||
V1_17(Compatibility.INCOMPATIBLE),
|
||||
/**
|
||||
* @since 1.17.1
|
||||
*/
|
||||
V1_17_1(Compatibility.COMPATIBLE)
|
||||
V1_17_1(Compatibility.INCOMPATIBLE)
|
||||
;
|
||||
|
||||
private final Compatibility compatibility;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
name: BentoBox
|
||||
main: world.bentobox.bentobox.BentoBox
|
||||
version: ${project.version}${build.number}
|
||||
api-version: "1.17"
|
||||
api-version: "1.16"
|
||||
|
||||
authors: [tastybento, Poslovitch]
|
||||
contributors: ["The BentoBoxWorld Community"]
|
||||
|
|
Loading…
Reference in New Issue