functional on 1.21.90

This commit is contained in:
ForestOfLight
2025-06-18 12:03:57 -07:00
Unverified
parent 5c5a4d65fb
commit 59615312c8
7 changed files with 66 additions and 82 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ class BlockInfo {
static getSupplyMessage(player, block) {
const itemStack = fetchMatchingItemSlot(player, block.getItemStack()?.typeId);
const isInSurvival = player.getGameMode() === GameMode.survival;
const isInSurvival = player.getGameMode() === GameMode.Survival;
if (!itemStack && isInSurvival)
return ' §c[No Supply]';
return '';