mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-28 10:21:22 +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
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user