mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-21 07:46:55 +00:00
Cleanup sources
This commit is contained in:
1 parent
ccd05c04a5
commit
fd2e8cfa8a
3 files changed
+5
-11
No files matched your search
@@ -445,15 +445,10 @@ public class B {
|
||||
}
|
||||
|
||||
private static synchronized BlockData createBlockData(String s) {
|
||||
try
|
||||
{
|
||||
try {
|
||||
return Bukkit.createBlockData(s);
|
||||
}
|
||||
|
||||
catch(IllegalArgumentException e)
|
||||
{
|
||||
if(s.contains("["))
|
||||
{
|
||||
} catch(IllegalArgumentException e) {
|
||||
if(s.contains("[")) {
|
||||
return createBlockData(s.split("\\Q[\\E")[0]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user