mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-06 16:27:59 +01:00
Update Util.java
This commit is contained in:
parent
925ee2c478
commit
8ffafc804b
@ -24,7 +24,7 @@ public class Util {
|
|||||||
public Util() {
|
public Util() {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static HashMap<UUID, String> jobsEditorMap = new HashMap<UUID, String>();
|
private static HashMap<UUID, String> jobsEditorMap = new HashMap<>();
|
||||||
|
|
||||||
@SuppressWarnings("deprecation")
|
@SuppressWarnings("deprecation")
|
||||||
public static ItemStack setEntityType(ItemStack is, EntityType type) throws IllegalArgumentException {
|
public static ItemStack setEntityType(ItemStack is, EntityType type) throws IllegalArgumentException {
|
||||||
@ -86,7 +86,7 @@ public class Util {
|
|||||||
distance = 15 * 16;
|
distance = 15 * 16;
|
||||||
if (distance < 1)
|
if (distance < 1)
|
||||||
distance = 1;
|
distance = 1;
|
||||||
ArrayList<Block> blocks = new ArrayList<Block>();
|
ArrayList<Block> blocks = new ArrayList<>();
|
||||||
Iterator<Block> itr = new BlockIterator(player, distance);
|
Iterator<Block> itr = new BlockIterator(player, distance);
|
||||||
while (itr.hasNext()) {
|
while (itr.hasNext()) {
|
||||||
Block block = itr.next();
|
Block block = itr.next();
|
||||||
|
Loading…
Reference in New Issue
Block a user