mirror of https://github.com/webbukkit/dynmap.git
Fix sign check PR
This commit is contained in:
parent
33b4fb7042
commit
a91e258da8
|
@ -515,7 +515,7 @@ public class DynmapPlugin
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int isSignAt(String wname, int x, int y, int z) {
|
public int isSignAt(String wname, int x, int y, int z) {
|
||||||
int blkid = plugin.getServer().getBlockIDAt(r.wname, r.x, r.y, r.z);
|
int blkid = getBlockIDAt(wname, x, y, z);
|
||||||
|
|
||||||
if (blkid == -1)
|
if (blkid == -1)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
|
@ -523,7 +523,7 @@ public class DynmapPlugin
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int isSignAt(String wname, int x, int y, int z) {
|
public int isSignAt(String wname, int x, int y, int z) {
|
||||||
int blkid = plugin.getServer().getBlockIDAt(r.wname, r.x, r.y, r.z);
|
int blkid = getBlockIDAt(wname, x, y, z);
|
||||||
|
|
||||||
if (blkid == -1)
|
if (blkid == -1)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
|
@ -528,7 +528,7 @@ public class DynmapPlugin
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int isSignAt(String wname, int x, int y, int z) {
|
public int isSignAt(String wname, int x, int y, int z) {
|
||||||
int blkid = plugin.getServer().getBlockIDAt(r.wname, r.x, r.y, r.z);
|
int blkid = getBlockIDAt(wname, x, y, z);
|
||||||
|
|
||||||
if (blkid == -1)
|
if (blkid == -1)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
|
@ -499,7 +499,7 @@ public class DynmapPlugin
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int isSignAt(String wname, int x, int y, int z) {
|
public int isSignAt(String wname, int x, int y, int z) {
|
||||||
int blkid = plugin.getServer().getBlockIDAt(r.wname, r.x, r.y, r.z);
|
int blkid = getBlockIDAt(wname, x, y, z);
|
||||||
|
|
||||||
if (blkid == -1)
|
if (blkid == -1)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
|
@ -502,7 +502,7 @@ public class DynmapPlugin
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int isSignAt(String wname, int x, int y, int z) {
|
public int isSignAt(String wname, int x, int y, int z) {
|
||||||
int blkid = plugin.getServer().getBlockIDAt(r.wname, r.x, r.y, r.z);
|
int blkid = getBlockIDAt(wname, x, y, z);
|
||||||
|
|
||||||
if (blkid == -1)
|
if (blkid == -1)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue