mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-23 05:34:01 +00:00
parent
8a2a62ea1d
commit
119bff3514
1373 changed files with 12049 additions and 12049 deletions
|
|
@ -95,7 +95,7 @@ bool DemoMode::destroyBlock(int x, int y, int z, int face)
|
|||
return SurvivalMode::destroyBlock(x, y, z, face);
|
||||
}
|
||||
|
||||
bool DemoMode::useItem(std::shared_ptr<Player> player, Level *level, std::shared_ptr<ItemInstance> item)
|
||||
bool DemoMode::useItem(shared_ptr<Player> player, Level *level, shared_ptr<ItemInstance> item)
|
||||
{
|
||||
if (demoHasEnded)
|
||||
{
|
||||
|
|
@ -105,7 +105,7 @@ bool DemoMode::useItem(std::shared_ptr<Player> player, Level *level, std::shared
|
|||
return SurvivalMode::useItem(player, level, item);
|
||||
}
|
||||
|
||||
bool DemoMode::useItemOn(std::shared_ptr<Player> player, Level *level, std::shared_ptr<ItemInstance> item, int x, int y, int z, int face)
|
||||
bool DemoMode::useItemOn(shared_ptr<Player> player, Level *level, shared_ptr<ItemInstance> item, int x, int y, int z, int face)
|
||||
{
|
||||
if (demoHasEnded) {
|
||||
outputDemoReminder();
|
||||
|
|
@ -114,7 +114,7 @@ bool DemoMode::useItemOn(std::shared_ptr<Player> player, Level *level, std::shar
|
|||
return SurvivalMode::useItemOn(player, level, item, x, y, z, face);
|
||||
}
|
||||
|
||||
void DemoMode::attack(std::shared_ptr<Player> player, std::shared_ptr<Entity> entity)
|
||||
void DemoMode::attack(shared_ptr<Player> player, shared_ptr<Entity> entity)
|
||||
{
|
||||
if (demoHasEnded)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue