mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-16 15:25:12 +01:00
Suppress deprecation warnings in BlockCache.
Assuming this is the most efficient way at present. Feedback welcome...
This commit is contained in:
parent
ae9415a012
commit
c449414d9a
@ -26,12 +26,14 @@ public class BlockCacheBukkit extends BlockCache{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
@Override
|
@Override
|
||||||
public int fetchTypeId(final int x, final int y, final int z) {
|
public int fetchTypeId(final int x, final int y, final int z) {
|
||||||
// TODO: consider setting type id and data at once.
|
// TODO: consider setting type id and data at once.
|
||||||
return world.getBlockTypeIdAt(x, y, z);
|
return world.getBlockTypeIdAt(x, y, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
@Override
|
@Override
|
||||||
public int fetchData(final int x, final int y, final int z) {
|
public int fetchData(final int x, final int y, final int z) {
|
||||||
// TODO: consider setting type id and data at once.
|
// TODO: consider setting type id and data at once.
|
||||||
|
Loading…
Reference in New Issue
Block a user