mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +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();
|
return BukkitRegistries.getInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
@Override
|
@Override
|
||||||
public int getDataVersion() {
|
public int getDataVersion() {
|
||||||
if (plugin.getBukkitImplAdapter() != null) {
|
if (plugin.getBukkitImplAdapter() != null) {
|
||||||
return plugin.getBukkitImplAdapter().getDataVersion();
|
return Bukkit.getUnsafe().getDataVersion();
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user