[SPIGOT-6053] World#setHardcore() cannot be set to false Created: 09/Aug/20 Updated: 11/Aug/20 Resolved: 11/Aug/20 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Parker Hawke | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Version: | git-Spigot-9639cf7-8fb6585 |
| Guidelines Read: | Yes |
| Description |
|
World#setHardcore() will not respect the boolean value that is passed and just sets it to true.
@Override
public void setHardcore(boolean hardcore) {
world.worldDataServer.b.hardcore = true;
}
|
| Comments |
| Comment by Parker Hawke [ 11/Aug/20 ] |
|
Relevant CraftBukkit PR: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/722/overview |