<commit_before>package com.gabrielsimmer;

import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;

public class VipRun implements CommandExecutor{

	VipFun plugin;
	ChatColor gC = ChatColor.GOLD; //Basically shortens ChatColor.GOLD to gC for easier access.
	
	public VipRun(VipFun passedPlugin){
		this.plugin = passedPlugin;
	}
	
	@Override
	public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args){
		Player player = (Player) sender;
		
		if(!player.hasPermission("vipfun.vip")){
			player.sendMessage(ChatColor.RED + "Sorry, you're not VIP! Use /buy to buy it!");
		}
		
		else if (player.hasPermission("vipfun.run")){
		
		player.sendMessage(gC + "Enjoy the speed boost!");
		
		PotionEffect speed = PotionEffectType.SPEED.createEffect(2400, 1); //Create speed effect
		
		player.addPotionEffect(speed, true); //Give player effect
		
		}
		
		return false;
	}
}<commit_msg>Update VipRun.java<commit_after>package com.gabrielsimmer;

import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;

public class VipRun implements CommandExecutor{

	VipFun plugin;
	ChatColor gC = ChatColor.GOLD; //Basically shortens ChatColor.GOLD to gC for easier access.
	
	public VipRun(VipFun passedPlugin){
		this.plugin = passedPlugin;
	}
	
	@Override
	public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args){
		Player player = (Player) sender;
		
		if(!player.hasPermission("vipfun.run")){
			player.sendMessage(ChatColor.RED + "Sorry, you're not VIP! Use /buy to buy it!");
		}
		
		else if (player.hasPermission("vipfun.run")){
		
		player.sendMessage(gC + "Enjoy the speed boost!");
		
		PotionEffect speed = PotionEffectType.SPEED.createEffect(2400, 1); //Create speed effect
		
		player.addPotionEffect(speed, true); //Give player effect
		
		}
		
		return false;
	}
}
{'fraction_non_alphanumeric': 0.1094238499330058, 'fraction_numerical': 0.0044662795891022775, 'mean_word_length': 4.642317380352645, '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': '3000433', 'n_tokens_mistral': 807, 'n_tokens_neox': 697, 'n_words': 175}