mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
parent
ed588476e0
commit
c155c65a8f
@ -365,12 +365,8 @@ public class Config {
|
||||
* @throws NoSuchFieldException
|
||||
* @throws IllegalAccessException
|
||||
*/
|
||||
private static void setAccessible(Field field)
|
||||
throws NoSuchFieldException, IllegalAccessException {
|
||||
private static void setAccessible(Field field) {
|
||||
field.setAccessible(true);
|
||||
Field modifiersField = Field.class.getDeclaredField("modifiers");
|
||||
modifiersField.setAccessible(true);
|
||||
modifiersField.setInt(field, field.getModifiers() & ~Modifier.FINAL);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -16,10 +16,10 @@ public class Settings extends Config {
|
||||
|
||||
@Comment("These first 7 aren't configurable") // This is a comment
|
||||
@Final // Indicates that this value isn't configurable
|
||||
public static final String ISSUES = "https://github.com/IntellectualSites/PlotSquared/issues";
|
||||
@Final public static final String SUGGESTION =
|
||||
public static String ISSUES = "https://github.com/IntellectualSites/PlotSquared/issues";
|
||||
@Final public static String SUGGESTION =
|
||||
"https://github.com/IntellectualSites/PlotSquaredSuggestions";
|
||||
@Final public static final String WIKI =
|
||||
@Final public static String WIKI =
|
||||
"https://github.com/IntellectualSites/PlotSquared/wiki";
|
||||
@Final public static String DATE; // These values are set from P2 before loading
|
||||
@Final public static String BUILD; // These values are set from P2 before loading
|
||||
|
Loading…
Reference in New Issue
Block a user