This commit is contained in:
Jesse Boyd
2015-11-30 02:24:01 +11:00
parent 9118f111e4
commit 82ccca8f63
3 changed files with 37 additions and 34 deletions

View File

@ -8,7 +8,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<artifactId>PlotSquared</artifactId>
<version>3.2.20</version>
<version>3.2.21</version>
<name>PlotSquared</name>
<packaging>jar</packaging>
<build>

View File

@ -1765,14 +1765,14 @@ public class MainUtil {
PlotWorld pw = plot.getWorld();
if (!pw.ALLOW_SIGNS) {
return null;
}
try {
Location loc = plot.getManager().getSignLoc(pw, plot);
ChunkManager.manager.loadChunk(loc.getWorld(), loc.getChunkLoc(), false);
String[] lines = BlockManager.manager.getSign(loc);
if (lines == null) {
return null;
}
loop:
}
loop: for (int i = 4; i > 0; i--) {
String caption = C.valueOf("OWNER_SIGN_LINE_" + i).s();
int index = caption.indexOf("%plr%");
@ -1804,6 +1804,9 @@ public class MainUtil {
if (plot.owner != null) {
plot.create();
}
return plot.owner;
} catch (Exception e) {
return null;
}
}

Binary file not shown.