chore: format Minecraft.World

This commit is contained in:
Tropical
2026-03-13 17:06:56 -05:00
parent bd6284025d
commit 33d0737d1d
1511 changed files with 108661 additions and 115521 deletions

View File

@@ -4,16 +4,13 @@
#include "../Headers/net.minecraft.world.damagesource.h"
#include "KillCommand.h"
EGameCommand KillCommand::getId()
{
return eGameCommand_Kill;
}
EGameCommand KillCommand::getId() { return eGameCommand_Kill; }
void KillCommand::execute(std::shared_ptr<CommandSender> source, byteArray commandData)
{
std::shared_ptr<Player> player = std::dynamic_pointer_cast<Player>(source);
void KillCommand::execute(std::shared_ptr<CommandSender> source,
byteArray commandData) {
std::shared_ptr<Player> player = std::dynamic_pointer_cast<Player>(source);
player->hurt(DamageSource::outOfWorld, 1000);
player->hurt(DamageSource::outOfWorld, 1000);
source->sendMessage(L"Ouch. That look like it hurt.");
source->sendMessage(L"Ouch. That look like it hurt.");
}