More PR merge fixes...
This commit is contained in:
parent
f3d6965c53
commit
10d03ef2ee
7 changed files with 0 additions and 106 deletions
|
|
@ -214,22 +214,6 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
|
|||
return -1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int isSignAt(String wname, int x, int y, int z) {
|
||||
World w = getServer().getWorld(wname);
|
||||
if((w != null) && w.isChunkLoaded(x >> 4, z >> 4)) {
|
||||
Block b = w.getBlockAt(x, y, z);
|
||||
BlockState s = b.getState();
|
||||
|
||||
if (s instanceof Sign) {
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int isSignAt(String wname, int x, int y, int z) {
|
||||
World w = getServer().getWorld(wname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue