(final int x, final int y, final int z)
| 544 | } |
| 545 | |
| 546 | public Block getBlock(final int x, final int y, final int z) |
| 547 | { |
| 548 | try |
| 549 | { |
| 550 | return this.getBlock0(x & 15, y, z & 15); |
| 551 | } |
| 552 | catch (ReportedException reportedexception) |
| 553 | { |
| 554 | CrashReportCategory crashreportcategory = reportedexception.getCrashReport().makeCategory("Block being got"); |
| 555 | crashreportcategory.addCrashSectionCallable("Location", new Callable<String>() |
| 556 | { |
| 557 | public String call() throws Exception |
| 558 | { |
| 559 | return CrashReportCategory.getCoordinateInfo(new BlockPos(Chunk.this.xPosition * 16 + x, y, Chunk.this.zPosition * 16 + z)); |
| 560 | } |
| 561 | }); |
| 562 | throw reportedexception; |
| 563 | } |
| 564 | } |
| 565 | |
| 566 | public Block getBlock(final BlockPos pos) |
| 567 | { |
no test coverage detected