mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
Well... bleh
This commit is contained in:
parent
a8ffbd21dc
commit
f3055074df
@ -97,8 +97,8 @@
|
|||||||
<file leaf-file-name="Flag.java" pinned="false" current="true" current-in-tab="true">
|
<file leaf-file-name="Flag.java" pinned="false" current="true" current-in-tab="true">
|
||||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/Flag.java">
|
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/Flag.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state vertical-scroll-proportion="0.08736842" vertical-offset="36" max-vertical-offset="1598">
|
<state vertical-scroll-proportion="0.44526315" vertical-offset="36" max-vertical-offset="1598">
|
||||||
<caret line="7" column="0" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="0" />
|
<caret line="27" column="33" selection-start-line="27" selection-start-column="33" selection-end-line="27" selection-end-column="33" />
|
||||||
<folding />
|
<folding />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
@ -538,7 +538,7 @@
|
|||||||
<workItem from="1413998668219" duration="821000" />
|
<workItem from="1413998668219" duration="821000" />
|
||||||
<workItem from="1414069303931" duration="1255000" />
|
<workItem from="1414069303931" duration="1255000" />
|
||||||
<workItem from="1414240828250" duration="1959000" />
|
<workItem from="1414240828250" duration="1959000" />
|
||||||
<workItem from="1414246269225" duration="1147000" />
|
<workItem from="1414246269225" duration="1384000" />
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00001" summary="First Commit">
|
<task id="LOCAL-00001" summary="First Commit">
|
||||||
<created>1411382351159</created>
|
<created>1411382351159</created>
|
||||||
@ -792,11 +792,15 @@
|
|||||||
<created>1414246513646</created>
|
<created>1414246513646</created>
|
||||||
<updated>1414246513646</updated>
|
<updated>1414246513646</updated>
|
||||||
</task>
|
</task>
|
||||||
<option name="localTasksCounter" value="64" />
|
<task id="LOCAL-00064" summary="Even better colour (+ character support). You evil person who force stringutil-check-thingies">
|
||||||
|
<created>1414247437259</created>
|
||||||
|
<updated>1414247437259</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="65" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="TimeTrackingManager">
|
<component name="TimeTrackingManager">
|
||||||
<option name="totallyTimeSpent" value="118063000" />
|
<option name="totallyTimeSpent" value="118300000" />
|
||||||
</component>
|
</component>
|
||||||
<component name="TodoView" selected-index="0">
|
<component name="TodoView" selected-index="0">
|
||||||
<todo-panel id="selected-file">
|
<todo-panel id="selected-file">
|
||||||
@ -894,7 +898,6 @@
|
|||||||
<option name="myTodoPanelSettings">
|
<option name="myTodoPanelSettings">
|
||||||
<TodoPanelSettings />
|
<TodoPanelSettings />
|
||||||
</option>
|
</option>
|
||||||
<MESSAGE value="Fixed some translations." />
|
|
||||||
<MESSAGE value="Started working on functions that will allow for a saved UUID cache (i.e mysql, sqlite, txt file etc...) for faster reading and in-caching. " />
|
<MESSAGE value="Started working on functions that will allow for a saved UUID cache (i.e mysql, sqlite, txt file etc...) for faster reading and in-caching. " />
|
||||||
<MESSAGE value="Fixed the uuid saving functions, added ability to change caching methods. " />
|
<MESSAGE value="Fixed the uuid saving functions, added ability to change caching methods. " />
|
||||||
<MESSAGE value="Some global settings :D" />
|
<MESSAGE value="Some global settings :D" />
|
||||||
@ -919,7 +922,8 @@
|
|||||||
<MESSAGE value="Removed web and fixed the flag sutff" />
|
<MESSAGE value="Removed web and fixed the flag sutff" />
|
||||||
<MESSAGE value="Added schematic save path setting" />
|
<MESSAGE value="Added schematic save path setting" />
|
||||||
<MESSAGE value="Support for colour codes" />
|
<MESSAGE value="Support for colour codes" />
|
||||||
<option name="LAST_COMMIT_MESSAGE" value="Support for colour codes" />
|
<MESSAGE value="Even better colour (+ character support). You evil person who force stringutil-check-thingies" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value="Even better colour (+ character support). You evil person who force stringutil-check-thingies" />
|
||||||
</component>
|
</component>
|
||||||
<component name="XDebuggerManager">
|
<component name="XDebuggerManager">
|
||||||
<breakpoint-manager>
|
<breakpoint-manager>
|
||||||
@ -1294,8 +1298,8 @@
|
|||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/Flag.java">
|
<entry file="file://$PROJECT_DIR$/PlotSquared/src/com/intellectualcrafters/plot/Flag.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state vertical-scroll-proportion="0.08736842" vertical-offset="36" max-vertical-offset="1598">
|
<state vertical-scroll-proportion="0.44526315" vertical-offset="36" max-vertical-offset="1598">
|
||||||
<caret line="7" column="0" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="0" />
|
<caret line="27" column="33" selection-start-line="27" selection-start-column="33" selection-end-line="27" selection-end-column="33" />
|
||||||
<folding />
|
<folding />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
|
@ -25,7 +25,7 @@ public class Flag {
|
|||||||
};
|
};
|
||||||
String tempValue = value;
|
String tempValue = value;
|
||||||
for(char c : allowedCharacters)
|
for(char c : allowedCharacters)
|
||||||
tempValue = value.replace(c, 'c');
|
tempValue = tempValue.replace(c, 'c');
|
||||||
if (!StringUtils.isAlphanumericSpace(tempValue)) {
|
if (!StringUtils.isAlphanumericSpace(tempValue)) {
|
||||||
throw new IllegalArgumentException("Flag must be alphanumerical (colours and some special characters are allowed)");
|
throw new IllegalArgumentException("Flag must be alphanumerical (colours and some special characters are allowed)");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user