mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-23 09:37:50 +01:00
Fix build errors (#2018)
Fixes build errors caused by the warp owner PRs (#1961 and #2017)
This commit is contained in:
parent
967bb44d94
commit
3d60aa1747
@ -59,7 +59,7 @@ public class Warps implements IConf, net.ess3.api.IWarps {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setWarp(User user, String name, Location loc) throws Exception {
|
||||
public void setWarp(IUser user, String name, Location loc) throws Exception {
|
||||
String filename = StringUtil.sanitizeFileName(name);
|
||||
EssentialsConf conf = warpPoints.get(new StringIgnoreCase(name));
|
||||
if (conf == null) {
|
||||
|
@ -1,11 +1,13 @@
|
||||
package com.earth2me.essentials.api;
|
||||
|
||||
import com.earth2me.essentials.IConf;
|
||||
import com.earth2me.essentials.IUser;
|
||||
import com.earth2me.essentials.commands.WarpNotFoundException;
|
||||
import org.bukkit.Location;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Collection;
|
||||
import java.util.UUID;
|
||||
|
||||
|
||||
public interface IWarps extends IConf {
|
||||
@ -63,7 +65,7 @@ public interface IWarps extends IConf {
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
void setWarp(User user, String name, Location loc) throws Exception;
|
||||
void setWarp(IUser user, String name, Location loc) throws Exception;
|
||||
|
||||
/**
|
||||
* Gets Lastowner UUID
|
||||
|
Loading…
Reference in New Issue
Block a user