[MC-3990] placing double slabs causes damage value to be set to zero Created: 30/Nov/12 Updated: 10/Feb/13 Resolved: 30/Nov/12 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Minecraft 1.4.4 |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Paul | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows 7, Windows XP, Java 7 (latest) as well as Java 6 |
||
| Issue Links: |
|
||||||||
| Confirmation Status: | Unconfirmed | ||||||||
| Description |
|
I recognized that in the minecraft code with version 1.4.4 there is a change in that when placing double slabs the damage value of the block is set to zero regardless of its value before placing. When one wants to place a double stone slab with id 43:6 it gets changed to 43:0. This was not the case upto version 1.4.2. As the block 43:6 is part of the vanilla minecraft I consider this a bug/unintended side effect of this new function handling the damage value on placing slabs. I am aware, that one can not craft the block with 43:6 in the vanilla minecraft. But why should the code change the damage value, even if the block was crafted with an additional recipe added with a simple mod? Possible solution: The function setting the damage value to zero for double slabs gets the damage value as a parameter. A simple fix for the above issue is to replace the zero with the damage value passed as parameter. Then the double slab is unchanged on placing. I verified this with the MCP. |
| Comments |
| Comment by Kumasasa [ 30/Nov/12 ] |
|
15th duplicate of |