Fix FakeSignFactory (listener interface wasn't public)
This commit is contained in:
parent
c8a33e38f4
commit
0d0153dcce
@ -10,7 +10,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>itemutils</artifactId>
|
||||
<version>1.2-SNAPSHOT</version>
|
||||
<version>1.3-SNAPSHOT</version>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
|
@ -1,13 +1,6 @@
|
||||
package eu.mikroskeem.utils.itemutils;
|
||||
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import com.comphenix.packetwrapper.WrapperPlayClientUpdateSign;
|
||||
import com.comphenix.packetwrapper.WrapperPlayServerBlockChange;
|
||||
import com.comphenix.packetwrapper.WrapperPlayServerOpenSignEditor;
|
||||
import com.comphenix.protocol.PacketType;
|
||||
import com.comphenix.protocol.ProtocolLibrary;
|
||||
@ -17,13 +10,18 @@ import com.comphenix.protocol.events.PacketAdapter;
|
||||
import com.comphenix.protocol.events.PacketContainer;
|
||||
import com.comphenix.protocol.events.PacketEvent;
|
||||
import com.comphenix.protocol.wrappers.BlockPosition;
|
||||
import com.comphenix.protocol.wrappers.WrappedBlockData;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
import org.bukkit.util.Vector;
|
||||
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
/**
|
||||
* @author Mark V.
|
||||
*/
|
||||
@ -154,7 +152,7 @@ public class FakeSignFactory {
|
||||
signLocations.clear();
|
||||
}
|
||||
|
||||
interface FakeSignListener {
|
||||
public interface FakeSignListener {
|
||||
void onSignDone(Player player, String[] lines);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user