mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-06 15:56:27 +00:00
Repush
This commit is contained in:
@@ -19,8 +19,8 @@ public abstract class MortarCommand implements ICommand
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* Override this with a super constructor as most commands shouldn't change these
|
||||
* parameters
|
||||
* Override this with a super constructor as most commands shouldn't change
|
||||
* these parameters
|
||||
*
|
||||
* @param node
|
||||
* the node (primary node) i.e. volume
|
||||
@@ -92,6 +92,21 @@ public abstract class MortarCommand implements ICommand
|
||||
requiredPermissions.add(node);
|
||||
}
|
||||
|
||||
public void rejectAny(MortarSender sender, String[] a)
|
||||
{
|
||||
if(a.length > 0)
|
||||
{
|
||||
String m = "";
|
||||
|
||||
for(String i : a)
|
||||
{
|
||||
m += i + " ";
|
||||
}
|
||||
|
||||
sender.sendMessage("Unknown Parameters: " + m);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getNode()
|
||||
{
|
||||
|
||||
6
src/main/java/com/volmit/iris/util/Supplier2.java
Normal file
6
src/main/java/com/volmit/iris/util/Supplier2.java
Normal file
@@ -0,0 +1,6 @@
|
||||
package com.volmit.iris.util;
|
||||
|
||||
public interface Supplier2<T, TT>
|
||||
{
|
||||
public void get(T t, TT tt);
|
||||
}
|
||||
6
src/main/java/com/volmit/iris/util/Supplier3.java
Normal file
6
src/main/java/com/volmit/iris/util/Supplier3.java
Normal file
@@ -0,0 +1,6 @@
|
||||
package com.volmit.iris.util;
|
||||
|
||||
public interface Supplier3<T, TT, TTT>
|
||||
{
|
||||
public void get(T t, TT tt, TTT ttt);
|
||||
}
|
||||
Reference in New Issue
Block a user