Makes the CraftBook remove on eject fix optional
This commit is contained in:
@@ -125,6 +125,17 @@ public final class StargateGateConfig {
|
||||
return (boolean) configOptions.get(ConfigOption.HANDLE_LEASHED_CREATURES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets whether the CraftBook vehicle removal fix is enabled
|
||||
*
|
||||
* <p>If enabled, minecarts and boats should be re-created instead of teleported.</p>
|
||||
*
|
||||
* @return <p>True if the CraftBook vehicle removal fix is enabled</p>
|
||||
*/
|
||||
public boolean enableCraftBookRemoveOnEjectFix() {
|
||||
return (boolean) configOptions.get(ConfigOption.ENABLE_CRAFT_BOOK_REMOVE_ON_EJECT_FIX);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets whether the list of destinations within a network should be sorted
|
||||
*
|
||||
|
Reference in New Issue
Block a user