[SPIGOT-1065] Monster Spawner disappear after placing in creative, when the item was moved in the inventory Created: 21/Jul/15 Updated: 21/Sep/15 Resolved: 21/Sep/15 |
|
Status: | Closed |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | xGhOsTkiLLeRx | Assignee: | Unassigned |
Resolution: | Won't Fix | Votes: | 1 |
Labels: | mobspawner, monster, monsterspawner, spawner | ||
Environment: |
Windows 8.1 x64, Java 7 Update 80, MC 1.8.7 |
Description |
If a player is in creative mode and obtains a spawner e.g. via the /give command he can place it down just fine. This does only affect creative mode. Additional info |
Comments |
Comment by Hex [ 21/Sep/15 ] |
This isn't a spigot bug. From what I know, it's a Mojang 'feature'. |
Comment by Shevchik [ 20/Aug/15 ] |
Why only creative? Because creative inventory is totally screwed, client can put anything in it's inventory. |
Comment by xGhOsTkiLLeRx [ 19/Aug/15 ] |
After a month not even an initial review? That's a poor activity, tbh. |
Comment by Dave Goldsmith [ 22/Jul/15 ] |
So if there is a creative item filter, why does it not apply to command blocks as well? They do not exhibit the same behavior as the spawners when moved in the inventory. And the filter, if it exists, does act strangely, since the spawners don't show as being removed from the inventory until the player tries to use them after having moved them in the inventory. |
Comment by xGhOsTkiLLeRx [ 22/Jul/15 ] |
@Shevchik IMHO this makes no sense. Can somebody clarify this and/or link to specific code fragments that implement this filter? Thanks, |
Comment by Shevchik [ 22/Jul/15 ] |
This is because of creative item filter. All items that can't be got from creative are removed on inventory interact while in creative |
Comment by Dave Goldsmith [ 22/Jul/15 ] |
I'm able to reproduce this bug, and I'm not using the SilkSpawners plugin. It looks like the spawner disappears only if it was moved to an inventory spot that was previously empty or if it was moved to a spot held by an item that can't be placed (sword, shovel, etc.). If it is moved in the inventory so that it replaces a block in a different inventory spot, then when the spawner is placed, the spawner changes to the block that it had replaced in the inventory, and the inventory spot changes to that previous block as well. |