Skip to content

Commit 34885bd

Browse files
committed
fix: Cameras couldn't link unless named
1 parent 67be510 commit 34885bd

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=2-1-4
1+
VERSION=2-1-5
22
DATA=./dist/bubblellaneous_${VERSION}_data_pack
33
RESOURCE=./dist/bubblellaneous_${VERSION}_resource_pack
44
GENERATED=/tmp/bubblellaneous-generated

minecraft/data/bubblellaneous/function/block/surveillance_camera/interact.mcfunction

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ execute store result storage bubblellaneous tmp.in.pos_y int 1 run data get enti
44
execute store result storage bubblellaneous tmp.in.pos_z int 1 run data get entity @s Pos[2]
55
data modify storage bubblellaneous tmp.in.dimension set from entity @p[tag=--local.event_player] Dimension
66
data modify storage bubblellaneous tmp.in.name set from entity @p[tag=--local.event_player] SelectedItem.components."minecraft:custom_name"
7+
execute unless data storage bubblellaneous tmp.in.name run data modify storage bubblellaneous tmp.in.name set value "Default Camera"
78

89
function bubblellaneous:block/surveillance_camera/link/apply_properties with storage bubblellaneous tmp.in
910

0 commit comments

Comments
 (0)