Cleanup
This commit is contained in:
@@ -73,6 +73,7 @@ public class LocalSession {
|
||||
private boolean beenToldVersion = false;
|
||||
private boolean hasCUISupport = false;
|
||||
private boolean fastMode = false;
|
||||
private boolean fastLighting = false;
|
||||
private Mask mask;
|
||||
private TimeZone timezone = TimeZone.getDefault();
|
||||
private Boolean jumptoBlock = true;
|
||||
@@ -644,6 +645,7 @@ public class LocalSession {
|
||||
new EditSession(player.getWorld(),
|
||||
getBlockChangeLimit(), blockBag);
|
||||
editSession.setFastMode(fastMode);
|
||||
editSession.setFastLighting(fastLighting);
|
||||
editSession.setMask(mask);
|
||||
|
||||
return editSession;
|
||||
@@ -667,6 +669,24 @@ public class LocalSession {
|
||||
this.fastMode = fastMode;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the session has fast lighting enabled.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public boolean hasFastLighting() {
|
||||
return fastLighting;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set fast lighting.
|
||||
*
|
||||
* @param fastLighting
|
||||
*/
|
||||
public void setFastLighting(boolean fastLighting) {
|
||||
this.fastLighting = fastLighting;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the mask.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user