geforkt von Mirrors/FastAsyncWorldEdit
Fixed infinite loop. Just because it's unused in worldedit doesn't mean you should break it -.-
Dieser Commit ist enthalten in:
Ursprung
050eef8dc7
Commit
467cc4dd14
@ -436,8 +436,7 @@ public class WorldEdit {
|
|||||||
return getBlock(player, id, false);
|
return getBlock(player, id, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Set<BaseBlock> getBlocks (LocalPlayer player, String list,
|
public Set<BaseBlock> getBlocks (LocalPlayer player, String list, boolean allAllowed, boolean allowNoData)
|
||||||
boolean allAllowed, boolean allowNoData)
|
|
||||||
throws DisallowedItemException, UnknownItemException {
|
throws DisallowedItemException, UnknownItemException {
|
||||||
String[] items = list.split(",");
|
String[] items = list.split(",");
|
||||||
Set<BaseBlock> blocks = new HashSet<BaseBlock>();
|
Set<BaseBlock> blocks = new HashSet<BaseBlock>();
|
||||||
@ -449,7 +448,7 @@ public class WorldEdit {
|
|||||||
|
|
||||||
public Set<BaseBlock> getBlocks(LocalPlayer player, String list, boolean allAllowed)
|
public Set<BaseBlock> getBlocks(LocalPlayer player, String list, boolean allAllowed)
|
||||||
throws DisallowedItemException, UnknownItemException {
|
throws DisallowedItemException, UnknownItemException {
|
||||||
return getBlocks(player, list, allAllowed);
|
return getBlocks(player, list, allAllowed, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Set<BaseBlock> getBlocks(LocalPlayer player, String list)
|
public Set<BaseBlock> getBlocks(LocalPlayer player, String list)
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren