mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-26 11:53:41 +00:00
13 lines
345 B
C++
13 lines
345 B
C++
#include "TheEndPortalTileEntity.h"
|
|
|
|
#include <memory>
|
|
|
|
#include "minecraft/world/level/tile/entity/TileEntity.h"
|
|
|
|
// 4J Added
|
|
std::shared_ptr<TileEntity> TheEndPortalTileEntity::clone() {
|
|
std::shared_ptr<TheEndPortalTileEntity> result =
|
|
std::make_shared<TheEndPortalTileEntity>();
|
|
TileEntity::clone(result);
|
|
return result;
|
|
} |