Skip to content

Commit 02debe3

Browse files
committed
Update to support core api changes
1 parent c904795 commit 02debe3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/org/mvplugins/multiverse/signportals/MultiverseSignPortals.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
@Service
2525
public class MultiverseSignPortals extends MultiversePlugin {
2626

27+
private static final double TARGET_CORE_API_VERSION = 5.0;
28+
2729
private MultiverseCoreApi core;
2830
private PluginServiceLocator serviceLocator;
2931

30-
private final static int requiresProtocol = 50;
31-
3232
/** This fires before I get Enabled. */
3333
public void onLoad() {
3434
Logging.init(this);
@@ -96,7 +96,7 @@ public String getVersionInfo() {
9696
}
9797

9898
@Override
99-
public int getTargetCoreProtocolVersion() {
100-
return requiresProtocol;
99+
public double getTargetCoreVersion() {
100+
return TARGET_CORE_API_VERSION;
101101
}
102102
}

0 commit comments

Comments
 (0)