Update CoreBlock.java

This commit is contained in:
Anuken 2020-08-30 08:19:28 -05:00 committed by GitHub
parent 02a9e2cd57
commit d40cff0741
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,7 +143,7 @@ public class CoreBlock extends StorageBlock{
if(!canPlaceOn(world.tile(x, y), player.team())){
drawPlaceText(Core.bundle.get((player.team().core() != null && player.team().core().items.has(requirements) && !state.rules.infiniteResources) ?
drawPlaceText(Core.bundle.get((player.team().core() != null && player.team().core().items.has(requirements)) || state.rules.infiniteResources ?
"bar.corereq" :
"bar.noresources"
), x, y, valid);