Requested allowed changes
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
fdc09d3eb3
Commit
fb8389bece
@ -82,6 +82,9 @@ class CheckSchemType_12 {
|
|||||||
flowers.add(Material.YELLOW_FLOWER);
|
flowers.add(Material.YELLOW_FLOWER);
|
||||||
flowers.add(Material.RED_ROSE);
|
flowers.add(Material.RED_ROSE);
|
||||||
flowers.add(Material.DOUBLE_PLANT);
|
flowers.add(Material.DOUBLE_PLANT);
|
||||||
|
flowers.add(Material.DIAMOND_BARDING);
|
||||||
|
flowers.add(Material.IRON_BARDING);
|
||||||
|
flowers.add(Material.GOLD_BARDING);
|
||||||
FLOWERS = flowers;
|
FLOWERS = flowers;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -83,7 +83,11 @@ class CheckSchemType_15 {
|
|||||||
Material.CORNFLOWER,
|
Material.CORNFLOWER,
|
||||||
Material.LILY_OF_THE_VALLEY,
|
Material.LILY_OF_THE_VALLEY,
|
||||||
Material.WITHER_ROSE,
|
Material.WITHER_ROSE,
|
||||||
Material.SUNFLOWER);
|
Material.SUNFLOWER,
|
||||||
|
Material.DIAMOND_HORSE_ARMOR,
|
||||||
|
Material.IRON_HORSE_ARMOR,
|
||||||
|
Material.GOLDEN_HORSE_ARMOR,
|
||||||
|
Material.HONEY_BOTTLE);
|
||||||
|
|
||||||
private CheckSchemType_15(){}
|
private CheckSchemType_15(){}
|
||||||
|
|
||||||
@ -177,7 +181,7 @@ class CheckSchemType_15 {
|
|||||||
|
|
||||||
if(blockMaterial == Material.DISPENSER && (itemType.equals(Material.FIRE_CHARGE) || itemType.equals(Material.ARROW)))
|
if(blockMaterial == Material.DISPENSER && (itemType.equals(Material.FIRE_CHARGE) || itemType.equals(Material.ARROW)))
|
||||||
counter += item.getByte("Count");
|
counter += item.getByte("Count");
|
||||||
else if(!FLOWERS.contains(itemType) && !(blockMaterial == Material.CHEST && itemType.equals(Material.TNT)))
|
else if(!FLOWERS.contains(itemType) && !((blockMaterial == Material.CHEST || blockMaterial == Material.BARREL) && itemType.equals(Material.TNT)))
|
||||||
result.foundForbiddenItem(blockMaterial.name(), itemType.name(), item.getByte("Count"));
|
result.foundForbiddenItem(blockMaterial.name(), itemType.name(), item.getByte("Count"));
|
||||||
else if(item.containsKey("tag"))
|
else if(item.containsKey("tag"))
|
||||||
result.foundItemWithTag(blockMaterial.name(), itemType.name(), item.getByte("Count"));
|
result.foundItemWithTag(blockMaterial.name(), itemType.name(), item.getByte("Count"));
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren