0.16.5-hotfix1

This commit is contained in:
sainagh
2024-10-22 15:32:10 -07:00
parent 6a6a0ba4f0
commit 9a9983c59a
5001 changed files with 257651 additions and 10123 deletions
+2 -1
View File
@@ -42,7 +42,8 @@ events.onPlayerInteractEntity(function(event as PlayerInteractEntityEvent) {
if (target.health <= DAMAGE) {
target.onDeath(IDamageSource.createPlayerDamage(event.player));
// give custom drop
Commands.call("summon Item ~ ~ ~ {Item:{id:\"contenttweaker:stone_of_the_shyre_warden\",Count:32b}}", event.player, event.world, true, true);
Commands.call("summon Item ~ ~ ~ {Item:{id:\"contenttweaker:stone_of_the_shyre_warden\",Count:64b}}", event.player, event.world, true, true);
Commands.call("summon Item ~ ~ ~ {Item:{id:\"contenttweaker:stone_of_the_shyre_warden\",Count:64b}}", event.player, event.world, true, true);
// Allows for proper death
target.health = 0;