Add @Override to BlockCache methods.

This commit is contained in:
asofold 2012-11-13 11:19:54 +01:00
parent e0e5998f04
commit f786aa844a

View File

@ -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;