mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-09 12:10:37 +01:00
Add @Override to BlockCache methods.
This commit is contained in:
parent
e0e5998f04
commit
f786aa844a
@ -68,7 +68,7 @@ public class BlockCache implements IBlockAccess{
|
|||||||
dataMap.clear();
|
dataMap.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getTypeId(final int x, final int y, final int z) {
|
public int getTypeId(final int x, final int y, final int z) {
|
||||||
final Integer pId = idMap.get(x, y, z);
|
final Integer pId = idMap.get(x, y, z);
|
||||||
if (pId != null) return pId;
|
if (pId != null) return pId;
|
||||||
@ -77,6 +77,7 @@ public class BlockCache implements IBlockAccess{
|
|||||||
return nId;
|
return nId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getData(final int x, final int y, final int z) {
|
public int getData(final int x, final int y, final int z) {
|
||||||
final Integer pData = dataMap.get(x, y, z);
|
final Integer pData = dataMap.get(x, y, z);
|
||||||
if (pData != null) return pData;
|
if (pData != null) return pData;
|
||||||
|
Loading…
Reference in New Issue
Block a user