I am not able to place a sign in a other world. (The other world has no player in it.)
There is just this issue:
java.lang.ClassCastException: class org.bukkit.craftbukkit.v1_8_R3.block.CraftBlockState cannot be cast to class org.bukkit.block.Sign (org.bukkit.craftbukkit.v1_8_R3.block.CraftBlockState and org.bukkit.block.Sign are in unnamed module of loader 'app')
at eu.smashmc.config.command.config.ConfigTestCommand.onCommand(ConfigTestCommand.java:26) ~[?:?]
at eu.smashmc.config.command.config.ConfigTestCommand.onCommand(ConfigTestCommand.java:12) ~[?:?]
at de.liquiddev.command.adapter.bukkit.SubCommand.onCommand(SubCommand.java:18) ~[?:?]
at de.liquiddev.command.CommandNode.executeCommand(CommandNode.java:75) ~[?:?]
at de.liquiddev.command.CommandNode.executeCommand(CommandNode.java:71) ~[?:?]
at de.liquiddev.command.CommandRoot.executeCommand(CommandRoot.java:46) ~[?:?]
at de.liquiddev.command.adapter.AbstractCommandAdapter.onCommand(AbstractCommandAdapter.java:25) ~[?:?]
at de.liquiddev.command.adapter.bukkit.BukkitCommandAdapter.access$101(BukkitCommandAdapter.java:19) ~[?:?]
at de.liquiddev.command.adapter.bukkit.BukkitCommandAdapter$CommandListener.execute(BukkitCommandAdapter.java:71) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:147) ~[nacho.jar:git-NachoSpigot-"c901193"]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:704) ~[nacho.jar:git-NachoSpigot-"c901193"]
at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1367) ~[nacho.jar:git-NachoSpigot-"c901193"]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1179) ~[nacho.jar:git-NachoSpigot-"c901193"]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:55) ~[nacho.jar:git-NachoSpigot-"c901193"]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[nacho.jar:git-NachoSpigot-"c901193"]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:6) ~[nacho.jar:git-NachoSpigot-"c901193"]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [nacho.jar:git-NachoSpigot-"c901193"]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:784) [nacho.jar:git-NachoSpigot-"c901193"]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:398) [nacho.jar:git-NachoSpigot-"c901193"]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:723) [nacho.jar:git-NachoSpigot-"c901193"]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [nacho.jar:git-NachoSpigot-"c901193"]
at java.lang.Thread.run(Thread.java:833) [?:?]
When i check the type of the block it is:
source: SIGN_POST
target: AIR
Expected Behavior
When i set the block type it should be changed.
Steps To Reproduce
Location location = player.getLocation();
Location b = new Location(Bukkit.getWorld("other"), location.getX(), location.getY(), location.getZ());
b.getBlock().setType(Material.SIGN_POST);
org.bukkit.block.Sign s = (Sign) b.getBlock().getState();
s.setLine(0, "test");
s.update();
I have not used an import for sign so that it is clear that i am not using the wrong class.
The variable player comes from a command an is of class org.bukkit.entity.Player
version
[18:01:58 INFO]: Checking version, please wait...
[18:01:59 INFO]: This server is running NachoSpigot version git-NachoSpigot-"c901193" (MC: 1.8.8) (Implementing API version 1.8.8-R0.2-SNAPSHOT)
You are running the latest version
Other
No response
Agreements
[X] You were able to find this issue on the latest version of NachoSpigot.
[X] You have confirmed that there aren’t any issues open regarding this bug.
[X] You have confirmed that you are NOT using a fork of NachoSpigot in any way. YOUR changes are not OUR faults.
Observed Behavior
I am not able to place a sign in a other world. (The other world has no player in it.) There is just this issue:
When i check the type of the block it is: source: SIGN_POST target: AIR
Expected Behavior
When i set the block type it should be changed.
Steps To Reproduce
Plugin List
PlotMe, Language, WorldEdit, EmptyWorldGenerator, ViaVersion, PlotMe-DefaultGenerator, Multiverse-Core, LuckPerms, SmashCore, Config
Server Version
version [18:01:58 INFO]: Checking version, please wait... [18:01:59 INFO]: This server is running NachoSpigot version git-NachoSpigot-"c901193" (MC: 1.8.8) (Implementing API version 1.8.8-R0.2-SNAPSHOT) You are running the latest version
Other
No response
Agreements