mirror of
https://github.com/PaperMC/Paper.git
synced 2024-10-29 23:09:33 +01:00
26 lines
502 B
Java
26 lines
502 B
Java
|
|
||
|
package org.bukkit.craftbukkit;
|
||
|
|
||
|
import org.bukkit.Server;
|
||
|
import net.minecraft.server.MinecraftServer;
|
||
|
|
||
|
public class CraftServer implements Server {
|
||
|
private final String name = "CraftBucket";
|
||
|
private String version;
|
||
|
MinecraftServer server;
|
||
|
|
||
|
protected CraftServer(MinecraftServer instance, String ver) {
|
||
|
server = instance;
|
||
|
version = ver;
|
||
|
}
|
||
|
|
||
|
public String getName() {
|
||
|
return name;
|
||
|
}
|
||
|
|
||
|
public String getVersion() {
|
||
|
return version;
|
||
|
}
|
||
|
|
||
|
}
|