[SPIGOT-204] Bukkit: Missing setType function with noPhysics flag Created: 13/Dec/14 Updated: 22/Dec/14 Resolved: 22/Dec/14 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor |
| Reporter: | orgin_org | Assignee: | md_5 |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Description |
|
The Bukkit api has deprecated all functions in the Block class that can set the Block Type without applying physics. This means that if you set the block type at the edges of a chunk then the server will load the bordering chunk. Also it slows down injecting blocks into the world due to the physics check. Add a setType(Material type, boolean applyPhysics) method to the Block class. |
| Comments |
| Comment by orgin_org [ 22/Dec/14 ] |
|
Thanks md_5! |
| Comment by Eddie Brown [ 14/Dec/14 ] |
|
Would love this. +1 |