<commit_before>package com.carpentersblocks.entity.item;

import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import com.carpentersblocks.util.protection.IProtected;
import com.carpentersblocks.util.protection.ProtectedObject;

public class EntityBase extends Entity implements IProtected {

    private final static byte   ID_OWNER  = 12;
    private final static String TAG_OWNER = "owner";

    public EntityBase(World world)
    {
        super(world);
    }

    public EntityBase(World world, EntityPlayer entityPlayer)
    {
        this(world);
        setOwner(new ProtectedObject(entityPlayer));
    }

    @Override
    public void setOwner(ProtectedObject obj)
    {
        getDataWatcher().updateObject(ID_OWNER, obj);
    }

    @Override
    public String getOwner()
    {<commit_msg>Fix broken tiles (dev bug only).<commit_after>package com.carpentersblocks.entity.item;

import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import com.carpentersblocks.util.protection.IProtected;
import com.carpentersblocks.util.protection.ProtectedObject;

public class EntityBase extends Entity implements IProtected {

    private final static byte   ID_OWNER  = 12;
    private final static String TAG_OWNER = "owner";

    public EntityBase(World world)
    {
        super(world);
    }

    public EntityBase(World world, EntityPlayer entityPlayer)
    {
        this(world);
        setOwner(new ProtectedObject(entityPlayer));
    }

    @Override
    public void setOwner(ProtectedObject obj)
    {
        getDataWatcher().updateObject(ID_OWNER, obj.toString());
    }

    @Override
    public String getOwner()
    {
{'fraction_non_alphanumeric': 0.0866738894907909, 'fraction_numerical': 0.0021668472372697724, 'mean_word_length': 3.711734693877551, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5904768', 'n_tokens_mistral': 558, 'n_tokens_neox': 533, 'n_words': 117}