<commit_before>package com.ezardlabs.lostsector.objects.pickups;

import com.ezardlabs.dethsquare.Collider;
import com.ezardlabs.dethsquare.multiplayer.Network;
import com.ezardlabs.lostsector.objects.warframes.Warframe;

public class EnergyPickup extends Pickup {
	private static final int ENERGY = 2;

	@Override
	protected String getAtlasPath() {
		return "images/pickups/energy";
	}

	@Override
	protected String getAnimationPath() {
		return "animations/pickups/energy";
	}

	@Override
	public void onTriggerEnter(Collider other) {
		Warframe w = other.gameObject.getComponent(Warframe.class);
		if (w != null && w.addEnergy(ENERGY)) {
			Network.destroy(gameObject);
		}
	}
}<commit_msg>Fix type bug<commit_after>package com.ezardlabs.lostsector.objects.pickups;

import com.ezardlabs.dethsquare.Collider;
import com.ezardlabs.dethsquare.multiplayer.Network;
import com.ezardlabs.lostsector.objects.warframes.Warframe;

public class EnergyPickup extends Pickup {
	private static final int ENERGY = 2;

	@Override
	protected String getAtlasPath() {
		return "images/pickups/energy";
	}

	@Override
	protected String getAnimationPath() {
		return "animations/pickups/energy";
	}

	@Override
	public void onTriggerEnter(Collider other) {
		Warframe w = other.gameObject.getComponentOfType(Warframe.class);
		if (w != null && w.addEnergy(ENERGY)) {
			Network.destroy(gameObject);
		}
	}
}
{'fraction_non_alphanumeric': 0.10639827462257369, 'fraction_numerical': 0.0014378145219266715, 'mean_word_length': 5.242152466367713, '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': '6818043', 'n_tokens_mistral': 501, 'n_tokens_neox': 459, 'n_words': 90}