mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-01 12:36:41 +00:00
Compare commits
3 Commits
FS-308
...
RELEASE-20
Author | SHA1 | Date | |
---|---|---|---|
4a6ad2059a | |||
ad80011de2 | |||
c732b40203 |
2
pom.xml
2
pom.xml
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>me.totalfreedom</groupId>
|
<groupId>me.totalfreedom</groupId>
|
||||||
<artifactId>TotalFreedomMod</artifactId>
|
<artifactId>TotalFreedomMod</artifactId>
|
||||||
<version>2021.05</version>
|
<version>2021.06</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -67,11 +67,6 @@ public class Command_cage extends FreedomCommand
|
|||||||
outerMaterial = Material.PLAYER_HEAD;
|
outerMaterial = Material.PLAYER_HEAD;
|
||||||
if (args.length >= 3)
|
if (args.length >= 3)
|
||||||
{
|
{
|
||||||
if (!args[2].matches("([A-z]*)") || args[2].length() < 3 || args[2].length() > 16)
|
|
||||||
{
|
|
||||||
msg("Invalid name!", ChatColor.RED);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
skullName = args[2];
|
skullName = args[2];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user