Suppress deprecation warnings in BlockCache.

Assuming this is the most efficient way at present.
Feedback welcome...
This commit is contained in:
asofold 2014-06-14 22:05:07 +02:00
parent ae9415a012
commit c449414d9a

View File

@ -26,12 +26,14 @@ public class BlockCacheBukkit extends BlockCache{
}
}
@SuppressWarnings("deprecation")
@Override
public int fetchTypeId(final int x, final int y, final int z) {
// TODO: consider setting type id and data at once.
return world.getBlockTypeIdAt(x, y, z);
}
@SuppressWarnings("deprecation")
@Override
public int fetchData(final int x, final int y, final int z) {
// TODO: consider setting type id and data at once.