mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Update adapters
This commit is contained in:
parent
3c40c53f66
commit
d42e152348
@ -89,10 +89,11 @@ public class BukkitServerInterface extends AbstractPlatform implements MultiUser
|
||||
return BukkitRegistries.getInstance();
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
@Override
|
||||
public int getDataVersion() {
|
||||
if (plugin.getBukkitImplAdapter() != null) {
|
||||
return plugin.getBukkitImplAdapter().getDataVersion();
|
||||
return Bukkit.getUnsafe().getDataVersion();
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user