Crops are now wheat, whooops
This commit is contained in:
parent
ac78c941bf
commit
abc561ded8
@ -20,10 +20,10 @@ jailing:
|
|||||||
during:
|
during:
|
||||||
blockBreakPenalty: 5m
|
blockBreakPenalty: 5m
|
||||||
blockBreakProtection: true
|
blockBreakProtection: true
|
||||||
blockBreakWhiteList: ['farmland', 'carrot', 'potato'] # these blocks can be broken at any time by prisoners
|
blockBreakWhiteList: ['wheat', 'carrot', 'potato'] # these blocks can be broken at any time by prisoners
|
||||||
blockPlacePenalty: 5m
|
blockPlacePenalty: 5m
|
||||||
blockPlaceProtection: true
|
blockPlaceProtection: true
|
||||||
blockPlaceWhiteList: ['farmland', 'carrot', 'potato'] # these blocks can be placed at any time by prisoners
|
blockPlaceWhiteList: ['wheat', 'carrot', 'potato'] # these blocks can be placed at any time by prisoners
|
||||||
cellsign:
|
cellsign:
|
||||||
- '%player%'
|
- '%player%'
|
||||||
- '%prettytime%'
|
- '%prettytime%'
|
||||||
|
@ -70,7 +70,7 @@ public class TestJailDefaultConfig {
|
|||||||
assertTrue("Default setting for block break proection is false.", main.getConfig().getBoolean(Settings.BLOCKBREAKPROTECTION.getPath()));
|
assertTrue("Default setting for block break proection is false.", main.getConfig().getBoolean(Settings.BLOCKBREAKPROTECTION.getPath()));
|
||||||
|
|
||||||
List<String> blockbreakwhite = main.getConfig().getStringList(Settings.BLOCKBREAKWHITELIST.getPath());
|
List<String> blockbreakwhite = main.getConfig().getStringList(Settings.BLOCKBREAKWHITELIST.getPath());
|
||||||
assertTrue("Default block breaking doesn't contain crops.", blockbreakwhite.contains("crops"));
|
assertTrue("Default block breaking doesn't contain crops.", blockbreakwhite.contains("wheat"));
|
||||||
assertTrue("Default block breaking doesn't contain carrot.", blockbreakwhite.contains("carrot"));
|
assertTrue("Default block breaking doesn't contain carrot.", blockbreakwhite.contains("carrot"));
|
||||||
assertTrue("Default block breaking doesn't contain potato.", blockbreakwhite.contains("potato"));
|
assertTrue("Default block breaking doesn't contain potato.", blockbreakwhite.contains("potato"));
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ public class TestJailDefaultConfig {
|
|||||||
assertTrue("Default setting for block place proection is false.", main.getConfig().getBoolean(Settings.BLOCKPLACEPROTECTION.getPath()));
|
assertTrue("Default setting for block place proection is false.", main.getConfig().getBoolean(Settings.BLOCKPLACEPROTECTION.getPath()));
|
||||||
|
|
||||||
List<String> blockplacewhite = main.getConfig().getStringList(Settings.BLOCKPLACEWHITELIST.getPath());
|
List<String> blockplacewhite = main.getConfig().getStringList(Settings.BLOCKPLACEWHITELIST.getPath());
|
||||||
assertTrue("Default block placing whitelist doesn't contain crops.", blockplacewhite.contains("crops"));
|
assertTrue("Default block placing whitelist doesn't contain crops.", blockplacewhite.contains("wheat"));
|
||||||
assertTrue("Default block placing whitelist doesn't contain carrot.", blockplacewhite.contains("carrot"));
|
assertTrue("Default block placing whitelist doesn't contain carrot.", blockplacewhite.contains("carrot"));
|
||||||
assertTrue("Default block placing whitelist doesn't contain potato.", blockplacewhite.contains("potato"));
|
assertTrue("Default block placing whitelist doesn't contain potato.", blockplacewhite.contains("potato"));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user