Rocologo / MobHunting

Mob hunting plugin for Minecraft Servers
24 stars 22 forks source link

Problem placing signs - they are all MH signs #45

Closed glob03 closed 8 years ago

glob03 commented 8 years ago

I don't know where to start with this description, when I place a sign on a server with mobhunter running on it, they all end up being a master mobhunter sign. mhsign

[11:56:03] [Server thread/INFO]: Starting minecraft server version 1.9.4 [11:56:03] [Server thread/INFO]: Loading properties [11:56:03] [Server thread/INFO]: Default game type: SURVIVAL [11:56:04] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-4af49dc-c5e9a16 (MC: 1.9.4) (Implementing API version 1.9.4-R0.1-SNAPSHOT) [11:56:04] [Server thread/INFO]: Server Ping Player Sample Count: 12 [11:56:04] [Server thread/INFO]: Using 3 threads for Netty based IO

[11:56:04] [Server thread/INFO]: Debug logging is disabled

Plugins [11:56:04] [Server thread/INFO]: [J-Backpacks] Loading J-Backpacks v1.0 [11:56:04] [Server thread/INFO]: [AdvancedPortals] Loading AdvancedPortals v0.0.19 [11:56:04] [Server thread/INFO]: [MobStacker] Loading MobStacker v2.0.0 [11:56:04] [Server thread/INFO]: [HealthBar] Loading HealthBar v1.8.3 [11:56:04] [Server thread/INFO]: [ChestFiller] Loading ChestFiller v2.1 [11:56:04] [Server thread/INFO]: [PermissionsBukkit] Loading PermissionsBukkit v2.5 [11:56:04] [Server thread/INFO]: [MonsterApocalypse] Loading MonsterApocalypse v<1.0> [11:56:04] [Server thread/INFO]: [BattleEffects] Loading BattleEffects v1.3.1 [11:56:04] [Server thread/INFO]: [CustomJoinItems] Loading CustomJoinItems v1.5.2 [11:56:04] [Server thread/INFO]: [Vault] Loading Vault v1.5.6-b49 [11:56:04] [Server thread/INFO]: [HideStream] Loading HideStream v3.8 [11:56:04] [Server thread/INFO]: [GriefPrevention] Loading GriefPrevention v14.6 [11:56:04] [Server thread/INFO]: [BungeeTabListPlus] Loading BungeeTabListPlus v2.4.5 [11:56:04] [Server thread/INFO]: [ProtocolLib] Loading ProtocolLib v4.0.1 [11:56:04] [Server thread/INFO]: [ForceSpawn] Loading ForceSpawn v0.5 [11:56:04] [Server thread/INFO]: [Fe] Loading Fe v0.8.3 [11:56:04] [Server thread/INFO]: [MysqlInventoryBridge] Loading MysqlInventoryBridge v1.5.2 [11:56:04] [Server thread/INFO]: [TitleManager] Loading TitleManager v1.5.11 [11:56:04] [Server thread/INFO]: [Citizens] Loading Citizens v2.0.18-SNAPSHOT (build 1363) [11:56:04] [Server thread/INFO]: [SignColors] Loading SignColors v0.6 [11:56:04] [Server thread/INFO]: [ChestCommands] Loading ChestCommands v3.1.4 [11:56:04] [Server thread/INFO]: [MobHunting] Loading MobHunting v3.0.6 [11:56:04] [Server thread/INFO]: [RandomTeleport] Loading RandomTeleport v1.7.1 (build #11) [11:56:04] [Server thread/INFO]: [ScoreboardStats] Loading ScoreboardStats v0.9.8 [11:56:04] [Server thread/INFO]: [Vault] Enabling Vault v1.5.6-b49

Rocologo commented 8 years ago

This is really strange.... does it also happen if you place an empty sign???

glob03 commented 8 years ago

Yep, seems like MH thinks all the signs belong to it :)

the other signs generally still perform their intended function

On 23-05-2016 16:26, Rocologo wrote:

This is really strange.... does it also happen if you place an empty sign???

You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub [1]

*

Links:

[1] https://github.com/Rocologo/MobHunting/issues/45#issuecomment-220896776

Regards mhsign2

Rocologo commented 8 years ago

I have examined my code and I think I know whats wrong. I have found a potential bug :-) The bug can only happen if you have a NPC with id=0. (which I dont have on my test server, because i have created and delete a lot of npc's :-D ).

I dont have access to my development computer today, bu ta quickfix on this problem (if my assumptions is right) is to remove the NPC and create it again so it gets a new number.

You remove the NPC with "/mh npc remove"

Is it possible for you to do this test?

glob03 commented 8 years ago

Yes works fine without NPC id=0

Rocologo commented 8 years ago

Perfect then I know how to fix the error, when I get access to my development computer. Thank you for your help. This bug will be fixed in next release.

I keep the ticket open until then. Thanks for your help!

glob03 commented 8 years ago

Your welcome

Rocologo commented 8 years ago

Fixed in v3.0.7