Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (getConfig().get("PlayerStats." + p.getUniqueId() + ".Kills") == null) {
- /* 267: 281 */ this.kills = 0;
- /* 268: */ } else {
- /* 269: 283 */ this.kills = getConfig().getInt("PlayerStats." + p.getUniqueId() + ".Kills");
- /* 270: */ }
- /* 271: 286 */ if (getConfig().get("PlayerStats." + p.getUniqueId() + ".Deaths") == null) {
- /* 272: 287 */ this.Deaths = 0;
- /* 273: */ } else {
- /* 274: 289 */ this.Deaths = getConfig().getInt("PlayerStats." + p.getUniqueId() + ".Deaths");
- /* 275: */ }
- /* 276: 292 */ if (getConfig().get("PlayerStats." + p.getUniqueId() + ".Bandaged") == null) {
- /* 277: 293 */ this.Bandaged = 0;
- /* 278: */ } else {
- /* 279: 295 */ this.Bandaged = getConfig().getInt("PlayerStats." + p.getUniqueId() + ".Bandaged");
- /* 280: */ }
- /* 281: 298 */ this.KD = 0;
- /* 282: 300 */ if ((this.Deaths == 0) &&
- /* 283: 301 */ (this.kills == 0)) {
- /* 284: 302 */ this.KD = 0;
- /* 285: */ }
- /* 286: 306 */ if (this.kills >= this.Deaths)
- /* 287: */ {
- /* 288: 307 */ if (this.Deaths == 0) {
- /* 289: 308 */ this.KD = this.kills;
- /* 290: */ } else {
- /* 291: 310 */ this.KD = (this.kills / this.Deaths);
- /* 292: */ }
- /* 293: */ }
- /* 294: 312 */ else if (this.Deaths >= this.kills)
- /* 295: */ {
- /* 296: 313 */ if (this.Deaths == 0) {
- /* 297: 314 */ this.KD = this.kills;
- /* 298: 316 */ } else if (this.kills == 0) {
- /* 299: 317 */ this.KD = (this.Deaths - this.Deaths * 2);
- /* 300: */ } else {
- /* 301: 319 */ this.KD = (this.Deaths / this.kills);
- /* 302: */ }
- /* 303: */ }
- /* 304: 322 */ else if (this.Deaths == 0)
- /* 305: */ {
- /* 306: 323 */ if (this.kills > 0) {
- /* 307: 324 */ this.KD = this.kills;
- /* 308: */ } else {
- /* 309: 326 */ this.KD = 0;
- /* 310: */ }
- /* 311: */ }
- /* 312: 328 */ else if (this.kills == 0)
- /* 313: */ {
- /* 314: 329 */ if (this.Deaths > 0) {
- /* 315: 330 */ this.KD = (this.Deaths - this.Deaths * 2);
- /* 316: */ } else {
- /* 317: 332 */ this.KD = 0;
- /* 318: */ }
- /* 319: */ }
- /* 320: 334 */ else if ((this.Deaths > 0) &&
- /* 321: 335 */ (this.kills == 0)) {
- /* 322: 336 */ this.KD = (this.Deaths - this.Deaths * 2);
- /* 323: */ }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement