Add better-grass setting, to allow option to render using BetterGrass style rendering of grass and snow block sides
This commit is contained in:
parent
25edd46e36
commit
55972a4d16
5 changed files with 63 additions and 18 deletions
|
|
@ -87,6 +87,7 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
|
|||
boolean swampshading = false;
|
||||
boolean waterbiomeshading = false;
|
||||
boolean fencejoin = false;
|
||||
boolean bettergrass = false;
|
||||
public CompassMode compassmode = CompassMode.PRE19;
|
||||
private int config_hashcode; /* Used to signal need to reload web configuration (world changes, config update, etc) */
|
||||
private int fullrenderplayerlimit; /* Number of online players that will cause fullrender processing to pause */
|
||||
|
|
@ -283,6 +284,8 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
|
|||
compassmode = CompassMode.NEWROSE;
|
||||
else
|
||||
compassmode = CompassMode.PRE19;
|
||||
/* Default better-grass */
|
||||
bettergrass = configuration.getBoolean("better-grass", false);
|
||||
/* Load full render processing player limit */
|
||||
fullrenderplayerlimit = configuration.getInteger("fullrenderplayerlimit", 0);
|
||||
/* If we're persisting ids-by-ip, load it */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue