Region songs not working? #101


  • Defect
  • Accepted
Open
Assigned to _ForgeUser7258999
  • _ForgeUser11031387 created this issue Jun 6, 2013

    Hi. I have created a region and added a song from a url. The region is permitted to use a song from a url. When I added the url it said it was added.
    Here's the song url: http://dl.dropboxusercontent.com/u/180244461/bar.ogg

    Now, whenever someone enters the region, the console returns this nasty error. I have been up all night trying to fix this. :s

    [WARNING] [Regios] Task #489 for Regios v5.9.8 generated an exception
    java.lang.ClassCastException: net.jzx7.regios.bukkit.entity.BukkitPlayer cannot be cast to org.getspout.spoutapi.player.SpoutPlayer
        at net.jzx7.regios.bukkit.SpoutPlugin.SpoutRegion$1.run(SpoutRegion.java:128)
        at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:53)
        at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
        at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:513)
        at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
        at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
        at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
        at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    2013-06-06 10:34:48 [SEVERE] Could not pass event PlayerMoveEvent to Regios v5.9.8
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
        at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:216)
        at net.minecraft.server.v1_5_R3.Packet10Flying.handle(SourceFile:136)
        at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292)
        at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:109)
        at org.getspout.spout.SpoutPlayerConnection.d(SpoutPlayerConnection.java:195)
        at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35)
        at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:30)
        at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581)
        at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
        at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
        at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
        at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    Caused by: java.lang.ClassCastException: net.jzx7.regios.bukkit.entity.BukkitPlayer cannot be cast to org.getspout.spoutapi.player.SpoutPlayer
        at net.jzx7.regios.bukkit.SpoutPlugin.SpoutRegion.playToPlayerMusicFromUrl(SpoutRegion.java:103)
        at net.jzx7.regios.regions.RegionManager.sendWelcomeMessage(RegionManager.java:812)
        at net.jzx7.regios.bukkit.listeners.RegiosPlayerListener.onPlayerMove(RegiosPlayerListener.java:634)
        at sun.reflect.GeneratedMethodAccessor189.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
        ... 15 more

  • _ForgeUser11031387 added the tags New Defect Jun 6, 2013
  • _ForgeUser7258999 posted a comment Jun 23, 2013

    I'll look at it.

  • _ForgeUser7258999 removed a tag New Jun 23, 2013
  • _ForgeUser7258999 added a tag Accepted Jun 23, 2013
  • _ForgeUser7258999 unassigned issue from Forge_User_62729289 Jun 23, 2013
  • _ForgeUser7258999 self-assigned this issue Jun 23, 2013

To post a comment, please login or register a new account.